C# Class Tmds.SockJS.Receiver

Afficher le fichier Open project: tmds/Tmds.SockJS Class Usage Examples

Méthodes publiques

Méthode Description
CloseBuffer ( WebSocketCloseStatus status, string description ) : byte[]
OpenAsync ( ) : Task
OpenSessionAsync ( ) : Task
Receiver ( HttpContext context, ReceiverType type, int maxResponseLength, string htmlFileCallback ) : System
SendCloseAsync ( byte buffer, CancellationToken cancellationToken ) : Task
SendHeartBeatAsync ( ) : Task
SendMessagesAsync ( List sends ) : Task

Private Methods

Méthode Description
Receiver ( ) : System
SendRawAsync ( RawSendType type, ArraySegment buffer, CancellationToken cancellationToken ) : Task
SendRawAsync ( RawSendType type, byte buffer, CancellationToken cancellationToken ) : Task

Method Details

CloseBuffer() public static méthode

public static CloseBuffer ( WebSocketCloseStatus status, string description ) : byte[]
status WebSocketCloseStatus
description string
Résultat byte[]

OpenAsync() public méthode

public OpenAsync ( ) : Task
Résultat Task

OpenSessionAsync() public méthode

public OpenSessionAsync ( ) : Task
Résultat Task

Receiver() public méthode

public Receiver ( HttpContext context, ReceiverType type, int maxResponseLength, string htmlFileCallback ) : System
context HttpContext
type ReceiverType
maxResponseLength int
htmlFileCallback string
Résultat System

SendCloseAsync() public méthode

public SendCloseAsync ( byte buffer, CancellationToken cancellationToken ) : Task
buffer byte
cancellationToken CancellationToken
Résultat Task

SendHeartBeatAsync() public méthode

public SendHeartBeatAsync ( ) : Task
Résultat Task

SendMessagesAsync() public méthode

public SendMessagesAsync ( List sends ) : Task
sends List
Résultat Task