C# Class vtortola.WebSockets.Rfc6455.WebSocketMessageWriteRfc6455Stream

Inheritance: WebSocketMessageWriteStream
ファイルを表示 Open project: vtortola/WebSocketListener Class Usage Examples

Public Methods

Method Description
Close ( ) : void
CloseAsync ( CancellationToken cancellation ) : Task
FlushAsync ( CancellationToken cancellationToken ) : Task
WebSocketMessageWriteRfc6455Stream ( WebSocketRfc6455 webSocket, WebSocketMessageType messageType ) : System
WebSocketMessageWriteRfc6455Stream ( WebSocketRfc6455 client, WebSocketMessageType messageType, WebSocketExtensionFlags extensionFlags ) : System
Write ( Byte buffer, Int32 offset, Int32 count ) : void
WriteAsync ( Byte buffer, Int32 offset, Int32 count, CancellationToken cancellationToken ) : Task

Private Methods

Method Description
BufferData ( Byte buffer, Int32 &offset, Int32 &count ) : void

Method Details

Close() public method

public Close ( ) : void
return void

CloseAsync() public method

public CloseAsync ( CancellationToken cancellation ) : Task
cancellation System.Threading.CancellationToken
return Task

FlushAsync() public method

public FlushAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
return Task

WebSocketMessageWriteRfc6455Stream() public method

public WebSocketMessageWriteRfc6455Stream ( WebSocketRfc6455 webSocket, WebSocketMessageType messageType ) : System
webSocket WebSocketRfc6455
messageType WebSocketMessageType
return System

WebSocketMessageWriteRfc6455Stream() public method

public WebSocketMessageWriteRfc6455Stream ( WebSocketRfc6455 client, WebSocketMessageType messageType, WebSocketExtensionFlags extensionFlags ) : System
client WebSocketRfc6455
messageType WebSocketMessageType
extensionFlags WebSocketExtensionFlags
return System

Write() public method

public Write ( Byte buffer, Int32 offset, Int32 count ) : void
buffer Byte
offset System.Int32
count System.Int32
return void

WriteAsync() public method

public WriteAsync ( Byte buffer, Int32 offset, Int32 count, CancellationToken cancellationToken ) : Task
buffer Byte
offset System.Int32
count System.Int32
cancellationToken System.Threading.CancellationToken
return Task