C# Класс vtortola.WebSockets.Rfc6455.WebSocketConnectionRfc6455

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AwaitHeader void
AwaitHeaderAsync Task
BeginWritting void
CheckForDoubleRead void
Close void
Close void
DisposeCurrentHeaderIfFinished void
EndWritting void
ParseHeader void
ProcessControlFrame void
ReadInternal System.Int32
ReadInternalAsync Task
StartPing void
TryReadHeaderUntil System.Boolean
WebSocketConnectionRfc6455 System
WriteInternal void
WriteInternal void
WriteInternalAsync Task
WriteInternalAsync Task

Открытые методы

Метод Описание
Dispose ( ) : void

Приватные методы

Метод Описание
AwaitHeader ( ) : void
AwaitHeaderAsync ( CancellationToken cancellation ) : Task
BeginWritting ( ) : void
CheckForDoubleRead ( ) : void
Close ( ) : void
Close ( WebSocketCloseReasons reason ) : void
DisposeCurrentHeaderIfFinished ( ) : void
EndWritting ( ) : void
ParseHeader ( Int32 readed ) : void
ProcessControlFrame ( Stream clientStream ) : void
ReadInternal ( Byte buffer, Int32 offset, Int32 count ) : Int32
ReadInternalAsync ( Byte buffer, Int32 offset, Int32 count, CancellationToken cancellationToken ) : Task
StartPing ( ) : void
TryReadHeaderUntil ( Int32 &readed, Int32 until ) : System.Boolean
WebSocketConnectionRfc6455 ( Stream clientStream, WebSocketListenerOptions options ) : System
WriteInternal ( ArraySegment buffer, Int32 count, System.Boolean isCompleted, System.Boolean headerSent, WebSocketFrameOption option, WebSocketExtensionFlags extensionFlags ) : void
WriteInternal ( ArraySegment buffer, Int32 count, System.Boolean isCompleted, System.Boolean headerSent, WebSocketMessageType type, WebSocketExtensionFlags extensionFlags ) : void
WriteInternalAsync ( ArraySegment buffer, Int32 count, System.Boolean isCompleted, System.Boolean headerSent, WebSocketFrameOption option, WebSocketExtensionFlags extensionFlags, CancellationToken cancellation ) : Task
WriteInternalAsync ( ArraySegment buffer, Int32 count, System.Boolean isCompleted, System.Boolean headerSent, WebSocketMessageType type, WebSocketExtensionFlags extensionFlags, CancellationToken cancellation ) : Task

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void