IWebSocket Interface

.NET Framework 4.5

Represents a web socket.

Namespace:  Microsoft.AspNet.SignalR.Hosting
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

public interface IWebSocket

The IWebSocket type exposes the following members.

  NameDescription
Public propertyOnCloseInvoked when the websocket gracefully closes
Public propertyOnErrorInvoked when there is an error
Public propertyOnMessageInvoked when data is sent over the websocket
Top

  NameDescription
Public methodSendSends data over the websocket.
Top
Show: