A custom request with a specified method.
The method associated with the request.
Converts the request to a JSON-RPC request.