RPCProcessor.sendRequest

Sends a request with the given method name to the other RPC side with the given value parameter serialized to JSON. Awaits the response (using yield) and returns once it's there.

This is a small wrapper to call awaitResponse(sendMethod(method, value))

  1. ResponseMessageRaw sendRequest(string method, T value, Duration timeout)
  2. ResponseMessageRaw sendRequest(string method, JSONValue value, Duration timeout)
    class RPCProcessor
    deprecated
    sendRequest
    (
    string method
    ,
    JSONValue value
    ,
    Duration timeout = Duration.max
    )
  3. ResponseMessageRaw sendRequest(string method, JsonValue value, Duration timeout)

Return Value

The response deserialized from the RPC.

Meta