Method

@Serializable(with = RequestMethodSerializer::class)
sealed interface Method(source)

Represents a method in the protocol, which can be predefined or custom.

Inheritors

Types

Link copied to clipboard
@Serializable
data class Custom(val value: String) : Method

Represents a custom method defined by the user.

Link copied to clipboard
@Serializable
enum Defined : Enum<Method.Defined> , Method

Enum of predefined methods supported by the protocol.

Properties

Link copied to clipboard
abstract val value: String