Notification

@Serializable(with = NotificationPolymorphicSerializer::class)
sealed interface Notification(source)

Represents a notification in the protocol.

Inheritors

Properties

Link copied to clipboard
abstract val method: Method

Functions

Link copied to clipboard

Converts the notification to a JSON-RPC notification.