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