Request

@Serializable(with = RequestPolymorphicSerializer::class)
sealed interface Request(source)

Represents a request in the protocol.

Inheritors

Properties

Link copied to clipboard
abstract val method: Method

Functions

Link copied to clipboard

Converts the request to a JSON-RPC request.