WebSocketHandler Class
.NET Framework 4.5
Represents an instance that manages SignalR web sockets.
Inheritance Hierarchy
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)
Syntax
'Declaration
Public Class WebSocketHandler
'Usage
Dim instance As WebSocketHandler
public class WebSocketHandler
public ref class WebSocketHandler
type WebSocketHandler = class end
public class WebSocketHandler
The WebSocketHandler type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WebSocketHandler |
Top
Properties
Name | Description | |
---|---|---|
Error | Gets or sets the error during handling the web socket. | |
MaxIncomingMessageSize | Gets the maximum incoming message size. |
Top
Methods
Name | Description | |
---|---|---|
CloseAsync | ||
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnClose | ||
OnError | Raises an event when an error occurred during handler operation. | |
OnMessage(Byte[]) | Raises an event when a message is received. | |
OnMessage(String) | Raises an event when a message is received. | |
OnOpen | Raises an event when this instance is opened. | |
ProcessWebSocketRequestAsync | Asynchronously processes the request received by the handler. | |
Send | Sends a message associated with the handler. | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.