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