sendRequest

suspend fun <T : RequestResult> sendRequest(request: Request, options: RequestOptions? = null): T(source)

Sends a request to the peer tagged with relatedRequestId = requestId.

Mirrors Protocol.request; cancellation of the handler coroutine propagates into this call.