The WebSocketServer type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | WebSocketServer(String) |
Initializes a new instance of the WebSocketServer class.
|
![]() | WebSocketServer(Int32, String) |
Initializes a new instance of the WebSocketServer class.
|
Methods
Name | Description | |
---|---|---|
![]() | Dispose |
Releases all resources used by the WebSocketServer.
|
![]() | Dispose(Boolean) |
Releases the unmanaged resources used by the SocketWrapper and optionally
releases the managed resources.
|
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | OnConnectionClosed |
Raises the ConnectionClosed event.
|
![]() | OnConnectionOpened |
Raises the ConnectionOpened event.
|
![]() | OnErrorOccurred |
Raises the ErrorOccurred event.
|
![]() | OnMessageReceived |
Raises the MessageReceived event.
|
![]() | OnStandardHttpRequestReceived |
Raises the StandardHttpRequestReceived event.
|
![]() | Start |
Starts the server.
|
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Properties
Name | Description | |
---|---|---|
![]() | Certificate |
Gets or sets the certificate used for authentication.
|
![]() | IsSecure |
Gets a value indicating whether the connection is secure.
|
![]() | ListenerSocket |
Gets or sets the ISocket on which communication occurs.
|
![]() | Location |
Gets the location the server is listening on for connections.
|
![]() | Port |
Gets the port the server is listening on for connections.
|
Events
Name | Description | |
---|---|---|
![]() | Closed |
Event raised when a connection is closed.
|
![]() | ErrorOccurred |
Event raised when an error occurs.
|
![]() | MessageReceived |
Event raised when a message is received from the WebSocket.
|
![]() | Opened |
Event raised when a connection is opened.
|
![]() | StandardHttpRequestReceived |
Event raised when a non-WebSocket message is received.
|
See Also