WebPubSubHubProperties interface
Properties of a hub.
Properties
anonymous |
The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny". |
event |
Event handler of a hub. |
event |
Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10. |
Property Details
anonymousConnectPolicy
The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
anonymousConnectPolicy?: string
Property Value
string
eventHandlers
eventListeners
Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10.
eventListeners?: EventListener_2[]