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.
the response message to send.
See Implementation
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.