API

AcceptWebSocketAsync

Accepts a valid WebSocket request.

Formal Syntax & Structure

csharp syntaxcsharp
await ctx.WebSockets.AcceptWebSocketAsync()

Working Example

Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.await ctx.WebSockets.AcceptWebSocketAsync()
C# & .NET Reference