4 writes to ServerMaxWindowBits
Microsoft.AspNetCore.WebSockets (2)
HandshakeHelpers.cs (2)
86ServerMaxWindowBits = serverMaxWindowBits 206parsedOptions.ServerMaxWindowBits = Math.Min(parsedServerMaxWindowBits ?? 15, serverMaxWindowBits);
Microsoft.AspNetCore.WebSockets.Tests (1)
WebSocketCompressionMiddlewareTests.cs (1)
139ServerMaxWindowBits = 12,
System.Net.WebSockets.Client (1)
System\Net\WebSockets\WebSocketHandle.Managed.cs (1)
334options.ServerMaxWindowBits = ParseWindowBits(value);
12 references to ServerMaxWindowBits
Microsoft.AspNetCore.WebSockets (3)
HandshakeHelpers.cs (3)
261if (hasServerMaxWindowBits || parsedOptions.ServerMaxWindowBits != 15) 267var len = (parsedOptions.ServerMaxWindowBits > 9) ? 2 : 1; 269var ret = parsedOptions.ServerMaxWindowBits.TryFormat(span, out var written, provider: CultureInfo.InvariantCulture);
System.Net.WebSockets (3)
System\Net\WebSockets\ManagedWebSocket.cs (2)
191_deflater = new WebSocketDeflater(deflateOptions.ServerMaxWindowBits, deflateOptions.ServerContextTakeover); 195_inflater = new WebSocketInflater(deflateOptions.ServerMaxWindowBits, deflateOptions.ServerContextTakeover);
System\Net\WebSockets\WebSocketDeflateOptions.cs (1)
57throw new ArgumentOutOfRangeException(nameof(ServerMaxWindowBits), value,
System.Net.WebSockets.Client (6)
System\Net\WebSockets\WebSocketHandle.Managed.cs (6)
367if (options.ServerMaxWindowBits > original.ServerMaxWindowBits) 370original.ServerMaxWindowBits, options.ServerMaxWindowBits)); 429if (options.ServerMaxWindowBits != WebSocketValidate.MaxDeflateWindowBits) 431builder.Append(CultureInfo.InvariantCulture, $"; {ClientWebSocketDeflateConstants.ServerMaxWindowBits}={options.ServerMaxWindowBits}");