5 writes to HttpVersionPolicy
Interop.FunctionalTests (2)
Http2WebSocketInteropTests.cs (2)
81wsClient.Options.HttpVersionPolicy = clientPolicy; 145wsClient.Options.HttpVersionPolicy = HttpVersionPolicy.RequestVersionExact;
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (3)
HubConnectionTests.cs (3)
1771o.HttpVersionPolicy = HttpVersionPolicy.RequestVersionExact; 1890o.HttpVersionPolicy = HttpVersionPolicy.RequestVersionExact; 1932o.HttpVersionPolicy = HttpVersionPolicy.RequestVersionExact;
5 references to HttpVersionPolicy
System.Net.WebSockets.Client (5)
System\Net\WebSockets\WebSocketHandle.Managed.cs (5)
54if (options.HttpVersion.Major >= 2 || options.HttpVersionPolicy == HttpVersionPolicy.RequestVersionOrHigher) 71bool tryDowngrade = uri.Scheme == UriScheme.Ws && (options.HttpVersion == HttpVersion.Version11 || options.HttpVersionPolicy == HttpVersionPolicy.RequestVersionOrLower); 81|| (options.HttpVersion == HttpVersion.Version11 && options.HttpVersionPolicy == HttpVersionPolicy.RequestVersionOrHigher && uri.Scheme == UriScheme.Wss)) 83if (options.HttpVersion > HttpVersion.Version20 && options.HttpVersionPolicy != HttpVersionPolicy.RequestVersionOrLower) 140&& (options.HttpVersion == HttpVersion.Version11 || options.HttpVersionPolicy == HttpVersionPolicy.RequestVersionOrLower))