WebSocketConnection MembersWebDriver

The WebSocketConnection type exposes the following members.
Constructors

  NameDescription
Public methodWebSocketConnection
Initializes a new instance of the WebSocketConnection class.
Back to Top
Methods

  NameDescription
Public methodClose
Closes the connection.
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 methodOnBinaryMessageReceived
Fires the BinaryMessageReceived event.
Protected methodOnClose
Fires the Closed event.
Protected methodOnError
Fires the ErrorReceived event.
Protected methodOnMessageReceived
Fires the MessageReceived event.
Protected methodOnOpen
Fires the Opened event.
Protected methodOnSend
Fires the Sent event.
Protected methodOnStandardHttpRequestReceived
Fires the StandardHttpRequestReceived event.
Public methodSend( Byte )
Sends a binary message over the connection.
Public methodSend(String)
Sends a text message over the connection.
Public methodSendRaw
Sends raw text over the connection, without passing through a handler.
Public methodStartReceiving
Starts the connection receiving requests.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyConnectionInfo
Gets an IWebSocketConnectionInfo object describing the connection.
Public propertyHandler
Gets or sets the IHandler implementation used for parsing and handling requests.
Public propertySocket
Gets or sets the ISocket implementation used for communication.
Back to Top
Events

  NameDescription
Public eventBinaryMessageReceived
Event raised when a binary message is received via the connection.
Public eventClosed
Event raised when a connection is closed.
Public eventErrorReceived
Event raised when an error occurs via the connection.
Public eventMessageReceived
Event raised when a text message is received via the connection.
Public eventOpened
Event raised when a connection is opened.
Public eventSent
Event raised when data is sent via the connection.
Public eventStandardHttpRequestReceived
Event raised when a non-WebSocket message is received.
Back to Top
See Also