bind

abstract suspend fun bind(transport: RPCTransport, contract: RPCNode.Contract)

Binds an extension to a transport. The provided transport is already intercepted by all registered extensions including this one. The extension is allowed to store parts of the contract or the whole contract.