Package-level declarations
Types
Represents a JSON-RPC 2.0 error object.
DSL builder for constructing JSONRPCError instances.
Base type for JSON-RPC 2.0 messages sent from client to server.
Content-based polymorphic serializer for JSONRPCMessage.
A JSON-RPC 2.0 notification — a request without an id field.
A JSON-RPC 2.0 request that expects a response from the server.
Represents a JSON-RPC 2.0 response.
DSL builder for constructing JSONRPCResponse instances.
Content-based polymorphic serializer for JSONRPCResponse.
Serializer for nullable RequestId?.
Represents a JSON-RPC 2.0 request identifier.
Serializer for non-nullable RequestId.
A JSONRPCResponse with untyped result and error data, deserialized as raw JsonElement.
Functions
Creates a JSONRPCError using the DSL builder.
Creates a JSONRPCResponse using the DSL builder.
Creates a JSONRPCResponse using the DSL builder, with error data type defaulting to Nothing.