14 references to ClientWebSocketDeflateConstants
System.Net.WebSockets.Client (14)
System\Net\WebSockets\WebSocketHandle.Managed.cs (14)
184
if (extension.AsSpan().TrimStart().StartsWith(
ClientWebSocketDeflateConstants
.Extension))
321
if (value.SequenceEqual(
ClientWebSocketDeflateConstants
.ClientNoContextTakeover))
325
else if (value.SequenceEqual(
ClientWebSocketDeflateConstants
.ServerNoContextTakeover))
329
else if (value.StartsWith(
ClientWebSocketDeflateConstants
.ClientMaxWindowBits))
333
else if (value.StartsWith(
ClientWebSocketDeflateConstants
.ServerMaxWindowBits))
348
SR.Format(SR.net_WebSockets_InvalidResponseHeader,
ClientWebSocketDeflateConstants
.Extension, value.ToString()));
412
var builder = new StringBuilder(
ClientWebSocketDeflateConstants
.MaxExtensionLength);
413
builder.Append(
ClientWebSocketDeflateConstants
.Extension).Append("; ");
417
builder.Append(CultureInfo.InvariantCulture, $"{
ClientWebSocketDeflateConstants
.ClientMaxWindowBits}={options.ClientMaxWindowBits}");
422
builder.Append(
ClientWebSocketDeflateConstants
.ClientMaxWindowBits);
427
builder.Append("; ").Append(
ClientWebSocketDeflateConstants
.ClientNoContextTakeover);
432
builder.Append(CultureInfo.InvariantCulture, $"; {
ClientWebSocketDeflateConstants
.ServerMaxWindowBits}={options.ServerMaxWindowBits}");
437
builder.Append("; ").Append(
ClientWebSocketDeflateConstants
.ServerNoContextTakeover);
440
Debug.Assert(builder.Length <=
ClientWebSocketDeflateConstants
.MaxExtensionLength);