JSONRPCMessage
Base type for JSON-RPC 2.0 messages sent from client to server.
A message is either a JSONRPCRequest (which carries an id and expects a response) or a JSONRPCNotification (which has no id and expects no response).
Type Parameters
P
The type of the params field.