1 write to DangerousDeflateOptions
Microsoft.AspNetCore.WebSockets.Tests (1)
WebSocketCompressionMiddlewareTests.cs (1)
137
client.Options.
DangerousDeflateOptions
= new WebSocketDeflateOptions()
4 references to DangerousDeflateOptions
System.Net.WebSockets.Client (4)
System\Net\WebSockets\WebSocketHandle.Managed.cs (4)
180
if (options.
DangerousDeflateOptions
is not null && response.Headers.TryGetValues(HttpKnownHeaderNames.SecWebSocketExtensions, out IEnumerable<string>? extensions))
186
negotiatedDeflateOptions = ParseDeflateOptions(extension, options.
DangerousDeflateOptions
);
406
if (options.
DangerousDeflateOptions
is not null)
408
request.Headers.TryAddWithoutValidation(HttpKnownHeaderNames.SecWebSocketExtensions, GetDeflateOptions(options.
DangerousDeflateOptions
));