unary Rpc
suspend fun <RequestT, ResponseT> unaryRpc( channel: Channel, method: MethodDescriptor<RequestT, ResponseT>, request: RequestT, callOptions: CallOptions = CallOptions.DEFAULT, headers: Metadata = GrpcMetadata()): ResponseT
Content copied to clipboard
Launches a unary RPC on the specified channel, suspending until the result is received.