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
data class Custom(val value: String) : Method

Represents a custom method defined by the user.

Link copied to clipboard

Enum of predefined methods supported by the protocol.

Properties

Link copied to clipboard
abstract val value: String