WebSocketBehavior Class |
Namespace: Sfs2X.WebSocketSharp.Server
public abstract class WebSocketBehavior : IWebSocketSession
The WebSocketBehavior type exposes the following members.
Name | Description | |
---|---|---|
![]() | ConnectionState |
Gets the current state of the WebSocket connection for a session.
|
![]() | Context |
Gets the information in a WebSocket handshake request to the service.
|
![]() | CookiesValidator |
Gets or sets the delegate used to validate the HTTP cookies included in
a WebSocket handshake request to the service.
|
![]() | EmitOnPing |
Gets or sets a value indicating whether the WebSocket instance for
a session emits the message event when receives a ping.
|
![]() | ID |
Gets the unique ID of a session.
|
![]() | IgnoreExtensions |
Gets or sets a value indicating whether the service ignores
the Sec-WebSocket-Extensions header included in a WebSocket
handshake request.
|
![]() | OriginValidator |
Gets or sets the delegate used to validate the Origin header included in
a WebSocket handshake request to the service.
|
![]() | Protocol |
Gets or sets the name of the WebSocket subprotocol for the service.
|
![]() | StartTime |
Gets the time that a session has started.
|