C# Class Microsoft.AspNet.SignalR.WebSockets.DefaultWebSocketHandler

Inheritance: WebSocketHandler, IWebSocket
Show file Open project: SignalR/SignalR Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
CloseAsync ( ) : System.Threading.Tasks.Task
DefaultWebSocketHandler ( int maxIncomingMessageSize ) : System
OnClose ( ) : void
OnError ( ) : void
OnMessage ( string message ) : void
Send ( ArraySegment message ) : System.Threading.Tasks.Task
Send ( string message ) : System.Threading.Tasks.Task

Method Details

CloseAsync() public method

public CloseAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

DefaultWebSocketHandler() public method

public DefaultWebSocketHandler ( int maxIncomingMessageSize ) : System
maxIncomingMessageSize int
return System

OnClose() public method

public OnClose ( ) : void
return void

OnError() public method

public OnError ( ) : void
return void

OnMessage() public method

public OnMessage ( string message ) : void
message string
return void

Send() public method

public Send ( ArraySegment message ) : System.Threading.Tasks.Task
message ArraySegment
return System.Threading.Tasks.Task

Send() public method

public Send ( string message ) : System.Threading.Tasks.Task
message string
return System.Threading.Tasks.Task