Assert that the given value is a valid JsonRpcRequest object.
If the given value is not a valid JsonRpcRequest object.
The JSON-RPC request or notification to check.
Optional
The error class to throw if the assertion fails. Defaults to AssertionError.
Assert that the given value is a valid JsonRpcRequest object.
Throws
If the given value is not a valid JsonRpcRequest object.