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