WebSocketAcceptContext Class

Namespace
Microsoft.AspNetCore.Http
Assemblies
  • Microsoft.AspNetCore.Http.Features

Syntax

public class WebSocketAcceptContext
class Microsoft.AspNetCore.Http.WebSocketAcceptContext

Properties

Microsoft.AspNetCore.Http.WebSocketAcceptContext.SubProtocol
Return type:System.String
public virtual string SubProtocol { get; set; }