WebSocketServer Class |
Namespace: Sfs2X.WebSocketSharp.Server
public class WebSocketServer
The WebSocketServer type exposes the following members.
Name | Description | |
---|---|---|
WebSocketServer |
Initializes a new instance of the WebSocketServer class.
| |
WebSocketServer(Int32) |
Initializes a new instance of the WebSocketServer class
with the specified port.
| |
WebSocketServer(String) |
Initializes a new instance of the WebSocketServer class
with the specified url.
| |
WebSocketServer(Int32, Boolean) |
Initializes a new instance of the WebSocketServer class
with the specified port and secure.
| |
WebSocketServer(IPAddress, Int32) |
Initializes a new instance of the WebSocketServer class
with the specified address and port.
| |
WebSocketServer(IPAddress, Int32, Boolean) |
Initializes a new instance of the WebSocketServer class
with the specified address, port,
and secure.
|
Name | Description | |
---|---|---|
Address |
Gets the IP address of the server.
| |
AllowForwardedRequest |
Gets or sets a value indicating whether the server accepts every
handshake request without checking the request URI.
| |
AuthenticationSchemes |
Gets or sets the scheme used to authenticate the clients.
| |
IsListening |
Gets a value indicating whether the server has started.
| |
IsSecure |
Gets a value indicating whether secure connections are provided.
| |
KeepClean |
Gets or sets a value indicating whether the server cleans up
the inactive sessions periodically.
| |
Log |
Gets the logging function for the server.
| |
Port |
Gets the port of the server.
| |
Realm |
Gets or sets the realm used for authentication.
| |
ReuseAddress |
Gets or sets a value indicating whether the server is allowed to
be bound to an address that is already in use.
| |
SslConfiguration |
Gets the configuration for secure connection.
| |
UserCredentialsFinder |
Gets or sets the delegate used to find the credentials
for an identity.
| |
WaitTime |
Gets or sets the time to wait for the response to the WebSocket Ping or
Close.
| |
WebSocketServices |
Gets the management function for the WebSocket services
provided by the server.
|
Name | Description | |
---|---|---|
AddWebSocketServiceTBehaviorWithNew(String) |
Adds a WebSocket service with the specified behavior and
path.
| |
AddWebSocketServiceTBehaviorWithNew(String, ActionTBehaviorWithNew) |
Adds a WebSocket service with the specified behavior,
path, and initializer.
| |
AddWebSocketServiceTBehavior(String, FuncTBehavior) | Obsolete.
Adds a WebSocket service with the specified behavior,
path, and creator.
| |
RemoveWebSocketService |
Removes a WebSocket service with the specified path.
| |
Start |
Starts receiving incoming handshake requests.
| |
Stop |
Stops receiving incoming handshake requests.
| |
Stop(CloseStatusCode, String) | Obsolete.
Stops receiving incoming handshake requests and closes each connection
with the specified code and reason.
| |
Stop(UInt16, String) | Obsolete.
Stops receiving incoming handshake requests and closes each connection
with the specified code and reason.
|