RelaySessionAction

data class RelaySessionAction(val kind: RelaySessionAction.Kind, val frame: String, val value: String, val event: SignedNostrEvent?, val delayMillis: ULong)

Platform action emitted by the pure relay session.

Constructors

Link copied to clipboard
constructor(kind: RelaySessionAction.Kind, frame: String, value: String, event: SignedNostrEvent?, delayMillis: ULong)

Types

Link copied to clipboard

Host operation requested by the transport-independent session.

Properties

Link copied to clipboard

Reconnect delay when kind is Kind.SCHEDULE_RECONNECT.

Link copied to clipboard

Event the platform must durably persist, if any.

Link copied to clipboard

Text frame to send when kind is Kind.SEND_FRAME.

Link copied to clipboard

Action discriminator.

Link copied to clipboard

Subscription, delivery, authentication, or diagnostic value.