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. ResponseMessage sendRequest(string method, T value)
    class RPCProcessor
    sendRequest
    (
    T
    )
    (
    string method
    ,)
  2. ResponseMessage sendRequest(string method, JSONValue value)

Return Value

The response deserialized from the RPC.

Meta