WebPubSubHubPropertiesResponse

data class WebPubSubHubPropertiesResponse(val anonymousConnectPolicy: String? = null, val eventHandlers: List<EventHandlerResponse>? = null, val eventListeners: List<EventListenerResponse>? = null, val webSocketKeepAliveIntervalInSeconds: Int? = null)

Properties of a hub.

Constructors

Link copied to clipboard
constructor(anonymousConnectPolicy: String? = null, eventHandlers: List<EventHandlerResponse>? = null, eventListeners: List<EventListenerResponse>? = null, webSocketKeepAliveIntervalInSeconds: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".

Link copied to clipboard

Event handler of a hub.

Link copied to clipboard

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.

Link copied to clipboard

The settings for configuring the WebSocket ping-pong interval in seconds for all clients in the hub. Valid range: 1 to 120. Default to 20 seconds.