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