WebPubSubHubProperties Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Properties of a hub.
public class WebPubSubHubProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.WebPubSub.Models.WebPubSubHubProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.WebPubSub.Models.WebPubSubHubProperties>
type WebPubSubHubProperties = class
interface IJsonModel<WebPubSubHubProperties>
interface IPersistableModel<WebPubSubHubProperties>
Public Class WebPubSubHubProperties
Implements IJsonModel(Of WebPubSubHubProperties), IPersistableModel(Of WebPubSubHubProperties)
- Inheritance
-
WebPubSubHubProperties
- Implements
Constructors
| Name | Description |
|---|---|
| WebPubSubHubProperties() |
Initializes a new instance of WebPubSubHubProperties. |
Properties
| Name | Description |
|---|---|
| AnonymousConnectPolicy |
The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny". |
| EventHandlers |
Event handler of a hub. |
| 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. |
| WebSocketKeepAliveIntervalInSeconds |
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. |
Methods
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<WebPubSubHubProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<WebPubSubHubProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<WebPubSubHubProperties>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<WebPubSubHubProperties>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<WebPubSubHubProperties>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |