C# Class Microsoft.AspNet.SignalR.Owin.OwinWebSocketHandler.OwinWebSocket

Inheritance: System.Net.WebSockets.WebSocket
Afficher le fichier Open project: SignalR/SignalR

Méthodes publiques

Méthode Description
Abort ( ) : void
CloseAsync ( WebSocketCloseStatus closeStatus, string statusDescription, CancellationToken cancellationToken ) : Task
CloseOutputAsync ( WebSocketCloseStatus closeStatus, string statusDescription, CancellationToken cancellationToken ) : Task
Dispose ( ) : void
OwinWebSocket ( object>.IDictionary env ) : System
ReceiveAsync ( ArraySegment buffer, CancellationToken cancellationToken ) : Task
SendAsync ( ArraySegment buffer, WebSocketMessageType messageType, bool endOfMessage, CancellationToken cancellationToken ) : Task

Private Methods

Méthode Description
EnumToOpCode ( WebSocketMessageType webSocketMessageType ) : int
OpCodeToEnum ( int messageType ) : WebSocketMessageType

Method Details

Abort() public méthode

public Abort ( ) : void
Résultat void

CloseAsync() public méthode

public CloseAsync ( WebSocketCloseStatus closeStatus, string statusDescription, CancellationToken cancellationToken ) : Task
closeStatus WebSocketCloseStatus
statusDescription string
cancellationToken System.Threading.CancellationToken
Résultat Task

CloseOutputAsync() public méthode

public CloseOutputAsync ( WebSocketCloseStatus closeStatus, string statusDescription, CancellationToken cancellationToken ) : Task
closeStatus WebSocketCloseStatus
statusDescription string
cancellationToken System.Threading.CancellationToken
Résultat Task

Dispose() public méthode

public Dispose ( ) : void
Résultat void

OwinWebSocket() public méthode

public OwinWebSocket ( object>.IDictionary env ) : System
env object>.IDictionary
Résultat System

ReceiveAsync() public méthode

public ReceiveAsync ( ArraySegment buffer, CancellationToken cancellationToken ) : Task
buffer ArraySegment
cancellationToken System.Threading.CancellationToken
Résultat Task

SendAsync() public méthode

public SendAsync ( ArraySegment buffer, WebSocketMessageType messageType, bool endOfMessage, CancellationToken cancellationToken ) : Task
buffer ArraySegment
messageType WebSocketMessageType
endOfMessage bool
cancellationToken System.Threading.CancellationToken
Résultat Task