RPCProcessor.send

Sends an RPC response or error. If result or error is not given on the response message, they won't be sent. Otherwise on success result must be set or on error error must be set. This also logs the error to stderr if it is given.

Parameters

res ResponseMessage

the response message to send.

Meta