Click or drag to resize

WebSocketBehavior Properties

The WebSocketBehavior type exposes the following members.

Properties
  NameDescription
Public propertyConnectionState
Gets the current state of the WebSocket connection for a session.
Public propertyContext
Gets the information in a WebSocket handshake request to the service.
Public propertyCookiesValidator
Gets or sets the delegate used to validate the HTTP cookies included in a WebSocket handshake request to the service.
Public propertyEmitOnPing
Gets or sets a value indicating whether the WebSocket instance for a session emits the message event when receives a ping.
Public propertyID
Gets the unique ID of a session.
Public propertyIgnoreExtensions
Gets or sets a value indicating whether the service ignores the Sec-WebSocket-Extensions header included in a WebSocket handshake request.
Public propertyOriginValidator
Gets or sets the delegate used to validate the Origin header included in a WebSocket handshake request to the service.
Public propertyProtocol
Gets or sets the name of the WebSocket subprotocol for the service.
Public propertyStartTime
Gets the time that a session has started.
Top
See Also