The IWebSocketConnection type exposes the following members.
Back to Top
Back to Top
Back to Top
Methods
Name | Description | |
---|---|---|
![]() | Close |
Closes the connection.
|
![]() | Send( Byte ) |
Sends a binary message over the connection.
|
![]() | Send(String) |
Sends a text message over the connection.
|
![]() | SendRaw |
Sends raw text over the connection, without passing through a handler.
|
Properties
Name | Description | |
---|---|---|
![]() | ConnectionInfo |
Gets an IWebSocketConnectionInfo object describing the connection.
|
Events
Name | Description | |
---|---|---|
![]() | BinaryMessageReceived |
Event raised when a binary message is received via the connection.
|
![]() | Closed |
Event raised when a connection is closed.
|
![]() | ErrorReceived |
Event raised when an error occurs via the connection.
|
![]() | MessageReceived |
Event raised when a text message is received via the connection.
|
![]() | Opened |
Event raised when a connection is opened.
|
![]() | Sent |
Event raised when data is sent via the connection.
|
![]() | StandardHttpRequestReceived |
Event raised when a non-WebSocket message is received.
|
See Also