Optional
options: NotificationOptionsConnects the websocket to start receiving notifications. If no
providedEndpoint
or providedSubprotocol
parameter is present, then
those will automatically be discovered based on the capabilities of the
host of the resource that you're subscribing to notifications for.
Optional
providedEndpoint: stringOptional
providedSubprotocol: stringRemoves a listener for the "connected" event
Emitted when the connection is established
Emitted when the next connection is established
Constructor for a WebSocket Notification instance, which allows subscribing to resources in the solid ecosystem. See the Solid Notifications Protocol Specification for more details.