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)
    class RPCProcessor
    sendRequest
    (
    T
    )
    (
    string method
    ,,
    Duration timeout = Duration.max
    )
  2. ResponseMessageRaw sendRequest(string method, JSONValue value, Duration timeout)
  3. ResponseMessageRaw sendRequest(string method, JsonValue value, Duration timeout)

Return Value

The response deserialized from the RPC.

Meta