8 references to RequestVersionOrLower
Interop.FunctionalTests (3)
Http2WebSocketInteropTests.cs (3)
31new object[] { "http", "2.0", HttpVersionPolicy.RequestVersionOrLower, HttpProtocols.Http1AndHttp2, "HTTP/1.1" }, // No TLS/APLN, Downgrade 39list.Add(new object[] { "https", "2.0", HttpVersionPolicy.RequestVersionOrLower, HttpProtocols.Http1AndHttp2, "HTTP/2" }); 40list.Add(new object[] { "https", "2.0", HttpVersionPolicy.RequestVersionOrLower, HttpProtocols.Http1, "HTTP/1.1" }); // Downgrade
Microsoft.AspNetCore.Http.Connections.Client (1)
Internal\WebSocketsTransport.cs (1)
206if (webSocket.Options.HttpVersionPolicy == HttpVersionPolicy.RequestVersionOrLower)
System.Net.WebSockets.Client (4)
System\Net\WebSockets\ClientWebSocketOptions.cs (1)
31private HttpVersionPolicy _versionPolicy = HttpVersionPolicy.RequestVersionOrLower;
System\Net\WebSockets\WebSocketHandle.Managed.cs (3)
71bool tryDowngrade = uri.Scheme == UriScheme.Ws && (options.HttpVersion == HttpVersion.Version11 || options.HttpVersionPolicy == HttpVersionPolicy.RequestVersionOrLower); 83if (options.HttpVersion > HttpVersion.Version20 && options.HttpVersionPolicy != HttpVersionPolicy.RequestVersionOrLower) 140&& (options.HttpVersion == HttpVersion.Version11 || options.HttpVersionPolicy == HttpVersionPolicy.RequestVersionOrLower))