send

abstract suspend fun send(message: KrpcTransportMessage)(source)

Sends a single encoded RPC message over a network (or any other medium) to a peer endpoint.

Parameters

message

a message to send. Either of string or binary type.