Sisk

Method

CadenteHttpServerEngineContext.AcceptWebSocketAsync

Namespace
Sisk.Cadente.CoreEngine
Assembly
Sisk.Cadente.CoreEngine.dll

AcceptWebSocketAsync(string?) #

Accepts a WebSocket connection asynchronously.

C#
public override Task<HttpServerEngineWebSocket> AcceptWebSocketAsync(string? subProtocol)

Parameters #

subProtocol string?

The subprotocol to use for the WebSocket connection.

Returns #

Task<HttpServerEngineWebSocket>

A Task representing the asynchronous operation. The result contains the HttpServerEngineWebSocket.

Type to search the documentation and the API reference.