WebSocketHandler Class

.NET Framework 4.5

Represents an instance that manages SignalR web sockets.

System::Object
  Microsoft.AspNet.SignalR.WebSockets::WebSocketHandler

Namespace:  Microsoft.AspNet.SignalR.WebSockets
Assemblies:   Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)

public ref class WebSocketHandler

The WebSocketHandler type exposes the following members.

  NameDescription
Public propertyErrorGets or sets the error during handling the web socket.
Public propertyMaxIncomingMessageSizeGets the maximum incoming message size.
Top

  NameDescription
Public methodCloseAsync
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOnClose
Public methodOnErrorRaises an event when an error occurred during handler operation.
Public methodOnMessage(array<Byte>)Raises an event when a message is received.
Public methodOnMessage(String)Raises an event when a message is received.
Public methodOnOpenRaises an event when this instance is opened.
Public methodProcessWebSocketRequestAsyncAsynchronously processes the request received by the handler.
Public methodSendSends a message associated with the handler.
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: