C# Class vtortola.WebSockets.Rfc6455.WebSocketRfc6455

Inheritance: WebSocket, IWebSocketLatencyMeasure
Datei anzeigen Open project: vtortola/WebSocketListener Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Close ( ) : void
CreateMessageWriter ( WebSocketMessageType messageType ) : WebSocketMessageWriteStream
Dispose ( ) : void
ReadMessage ( ) : WebSocketMessageReadStream
ReadMessageAsync ( CancellationToken token ) : Task
WebSocketRfc6455 ( Stream clientStream, WebSocketListenerOptions options, IPEndPoint local, IPEndPoint remote, WebSocketHttpRequest httpRequest, WebSocketHttpResponse httpResponse, IReadOnlyList extensions ) : System

Method Details

Close() public method

public Close ( ) : void
return void

CreateMessageWriter() public method

public CreateMessageWriter ( WebSocketMessageType messageType ) : WebSocketMessageWriteStream
messageType WebSocketMessageType
return WebSocketMessageWriteStream

Dispose() public method

public Dispose ( ) : void
return void

ReadMessage() public method

public ReadMessage ( ) : WebSocketMessageReadStream
return WebSocketMessageReadStream

ReadMessageAsync() public method

public ReadMessageAsync ( CancellationToken token ) : Task
token System.Threading.CancellationToken
return Task

WebSocketRfc6455() public method

public WebSocketRfc6455 ( Stream clientStream, WebSocketListenerOptions options, IPEndPoint local, IPEndPoint remote, WebSocketHttpRequest httpRequest, WebSocketHttpResponse httpResponse, IReadOnlyList extensions ) : System
clientStream Stream
options WebSocketListenerOptions
local System.Net.IPEndPoint
remote System.Net.IPEndPoint
httpRequest WebSocketHttpRequest
httpResponse WebSocketHttpResponse
extensions IReadOnlyList
return System