Represents a request sent by the server.
the request method identifier
optional request parameters
Converts the request to a JSON-RPC request.