WebSocketServer Members
The WebSocketServer type exposes the following members.
Constructors
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 WebSocket URL.
|
|
WebSocketServer(Int32, Boolean) | ||
WebSocketServer(IPAddress, Int32) | ||
WebSocketServer(IPAddress, Int32, Boolean) |
Initializes a new instance of the WebSocketServer class with
the specified address, port,
and secure.
|
Methods
Name | Description | |
---|---|---|
AddWebSocketService<(Of <<'(TBehavior>)>>)(String, Func<(Of <<'(TBehavior>)>>)) |
Adds a WebSocket service with the specified behavior, path,
and initializer.
|
|
AddWebSocketService<(Of <<'(TBehaviorWithNew>)>>)(String) |
Adds a WebSocket service with the specified behavior and path.
|
|
Equals(System.Object) | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
RemoveWebSocketService |
Removes the WebSocket service with the specified path.
|
|
Start |
Starts receiving the WebSocket connection requests.
|
|
Stop()()()() |
Stops receiving the WebSocket connection requests.
|
|
Stop(UInt16, String) | ||
Stop(CloseStatusCode, String) |
Stops receiving the WebSocket connection requests with
the specified CloseStatusCode and String.
|
|
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Address |
Gets the local IP address of the server.
|
|
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 the server provides a secure connection.
|
|
KeepClean |
Gets or sets a value indicating whether the server cleans up
the inactive sessions periodically.
|
|
Log |
Gets the logging functions.
|
|
Port |
Gets the port on which to listen for incoming connection requests.
|
|
Realm |
Gets or sets the name of the realm associated with the server.
|
|
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 or sets the SSL configuration used to authenticate the server and
optionally the client for secure connection.
|
|
UserCredentialsFinder |
Gets or sets the delegate called to find the credentials for an identity used to
authenticate a client.
|
|
WaitTime |
Gets or sets the wait time for the response to the WebSocket Ping or Close.
|
|
WebSocketServices |
Gets the access to the WebSocket services provided by the server.
|