WebSocketServer MembersWebDriver

The WebSocketServer type exposes the following members.
Constructors

  NameDescription
Public methodWebSocketServer(String)
Initializes a new instance of the WebSocketServer class.
Public methodWebSocketServer(Int32, String)
Initializes a new instance of the WebSocketServer class.
Back to Top
Methods

  NameDescription
Public methodDispose 
Releases all resources used by the WebSocketServer.
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the SocketWrapper and optionally releases the managed resources.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnConnectionClosed
Raises the ConnectionClosed event.
Protected methodOnConnectionOpened
Raises the ConnectionOpened event.
Protected methodOnErrorOccurred
Raises the ErrorOccurred event.
Protected methodOnMessageReceived
Raises the MessageReceived event.
Protected methodOnStandardHttpRequestReceived
Raises the StandardHttpRequestReceived event.
Public methodStart
Starts the server.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyCertificate
Gets or sets the certificate used for authentication.
Public propertyIsSecure
Gets a value indicating whether the connection is secure.
Public propertyListenerSocket
Gets or sets the ISocket on which communication occurs.
Public propertyLocation
Gets the location the server is listening on for connections.
Public propertyPort
Gets the port the server is listening on for connections.
Back to Top
Events

  NameDescription
Public eventClosed
Event raised when a connection is closed.
Public eventErrorOccurred
Event raised when an error occurs.
Public eventMessageReceived
Event raised when a message is received from the WebSocket.
Public eventOpened
Event raised when a connection is opened.
Public eventStandardHttpRequestReceived
Event raised when a non-WebSocket message is received.
Back to Top
See Also