Property RequestHeaders
RequestHeaders
An optional dictionary of HTTP request headers to be sent with the WebSocket request.
public IDictionary<string, StringValues>? RequestHeaders { get; init; }
Property Value
Remarks
Not supported when running in the Browser, such as when using Blazor WebAssembly, as the underlying Browser implementation does not support adding headers to a WebSocket.