IWebSocket Interface
.NET Framework 4
Represents a web socket.
Namespace: Microsoft.AspNet.SignalR.Hosting
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Public Interface IWebSocket
'Usage
Dim instance As IWebSocket
public interface IWebSocket
public interface class IWebSocket
type IWebSocket = interface end
public interface IWebSocket
The IWebSocket type exposes the following members.
Properties
Name | Description | |
---|---|---|
OnClose | Invoked when the websocket gracefully closes | |
OnError | Invoked when there is an error | |
OnMessage | Invoked when data is sent over the websocket |
Top
Methods
Name | Description | |
---|---|---|
Send | Sends data over the websocket. |
Top