1 write to ProtocolVersion
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\Request.cs (1)
167
ProtocolVersion
= RequestContext.GetVersion();
10 references to ProtocolVersion
Microsoft.AspNetCore.Server.HttpSys (10)
RequestProcessing\Request.cs (1)
332
internal bool IsUpgradable =>
ProtocolVersion
== HttpVersion.Version11 && !HasEntityBody && ComNetOS.IsWin8orLater;
RequestProcessing\RequestContext.cs (1)
91
if (Request.
ProtocolVersion
!= System.Net.HttpVersion.Version11)
RequestProcessing\RequestContext.FeatureCollection.cs (4)
204
_httpProtocolVersion = HttpProtocol.GetHttpProtocol(Request.
ProtocolVersion
);
362
|| Request.
ProtocolVersion
>= HttpVersion.Version20)
387
if (Request.
ProtocolVersion
>= HttpVersion.Version20 && HttpApi.SupportsTrailers)
396
if (Request.
ProtocolVersion
>= HttpVersion.Version20 && HttpApi.SupportsReset)
RequestProcessing\RequestContextOfT.cs (2)
74
if (Request.
ProtocolVersion
== HttpVersion.Version20)
79
else if (Request.
ProtocolVersion
== HttpVersion.Version30)
RequestProcessing\Response.cs (2)
155
|| (HttpApi.SupportsTrailers && Request.
ProtocolVersion
>= HttpVersion.Version20
390
var requestVersion = Request.
ProtocolVersion
;