1 write to _options
Microsoft.AspNetCore.WebSockets (1)
WebSocketMiddleware.cs (1)
41
_options
= options.Value;
4 references to _options
Microsoft.AspNetCore.WebSockets (4)
WebSocketMiddleware.cs (4)
42
_allowedOrigins =
_options
.AllowedOrigins.Select(o => o.ToLowerInvariant()).ToList();
43
_anyOriginAllowed =
_options
.AllowedOrigins.Count == 0 ||
_options
.AllowedOrigins.Contains("*", StringComparer.Ordinal);
63
var webSocketFeature = new WebSocketHandshake(context, upgradeFeature, connectFeature,
_options
, _logger);