Click or drag to resize

WebSocketBehavior Class

Exposes a set of methods and properties used to define the behavior of a WebSocket service provided by the WebSocketServer or HttpServer.
Inheritance Hierarchy
SystemObject
  Sfs2X.WebSocketSharp.ServerWebSocketBehavior

Namespace:  Sfs2X.WebSocketSharp.Server
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public abstract class WebSocketBehavior : IWebSocketSession

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
Remarks
This class is an abstract class.
See Also