Interface WebSocketChannel2023

A NotificationChannel containing the necessary fields for a WebSocketChannel2023 channel.

Hierarchy

Properties

accept?: string

The media type in which the receiver expects the notifications.

endAt?: number

When the channel should stop existing, in milliseconds since epoch.

id: string

The unique identifier of the channel.

lastEmit?: number

Internal value that we use to track when this channel last sent a notification.

rate?: number

The minimal time required between notifications, in milliseconds.

receiveFrom: string

The WebSocket through which the channel will send notifications.

sendTo?: string

The resource on the receiver where notifications can be sent.

sender?: string

Can be used to identify the sender.

startAt?: number

When the channel should start sending notifications, in milliseconds since epoch.

state?: string

The state parameter sent by the receiver. This is used to send a notification when the channel is established and the topic resource has a different state.

topic: string

The resource this channel sends notifications about.

type: "http://www.w3.org/ns/solid/notifications#WebSocketChannel2023"

The "notify:WebSocketChannel2023" type.