C# Class vtortola.WebSockets.Http.HttpNegotiationQueue

Inheritance: IDisposable
Show file Open project: vtortola/WebSocketListener Class Usage Examples

Public Methods

Method Description
DequeueAsync ( CancellationToken cancel ) : Task
Dispose ( ) : void
HttpNegotiationQueue ( WebSocketFactoryCollection standards, WebSocketConnectionExtensionCollection extensions, WebSocketListenerOptions options ) : System
Queue ( Socket socket ) : void

Private Methods

Method Description
NegotiateWebSocket ( Socket client ) : Task
WorkAsync ( ) : Task

Method Details

DequeueAsync() public method

public DequeueAsync ( CancellationToken cancel ) : Task
cancel System.Threading.CancellationToken
return Task

Dispose() public method

public Dispose ( ) : void
return void

HttpNegotiationQueue() public method

public HttpNegotiationQueue ( WebSocketFactoryCollection standards, WebSocketConnectionExtensionCollection extensions, WebSocketListenerOptions options ) : System
standards WebSocketFactoryCollection
extensions WebSocketConnectionExtensionCollection
options WebSocketListenerOptions
return System

Queue() public method

public Queue ( Socket socket ) : void
socket Socket
return void