A custom request with a specified method.
The request method identifier.
Optional request parameters.
Converts the request to a JSON-RPC request.