1 instantiation of WebTransportSession
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http3\Http3Connection.cs (1)
925session = new WebTransportSession(this, http3Stream);
14 references to WebTransportSession
Microsoft.AspNetCore.Server.Kestrel.Core (14)
Internal\Http3\Http3Connection.cs (5)
43private readonly Dictionary<long, WebTransportSession>? _webtransportSessions; 532foreach (var session in _webtransportSessions.Values) 632if (!_webtransportSessions.TryGetValue(correspondingSession, out var session)) 916internal WebTransportSession OpenNewWebTransportSession(Http3Stream http3Stream) 920WebTransportSession session;
Internal\Http3\Http3Stream.cs (6)
852if (string.Equals(HttpRequestHeaders.HeaderProtocol, WebTransportSession.WebTransportProtocolValue, StringComparison.Ordinal)) 855if (((AspNetCore.Http.IHeaderDictionary)HttpRequestHeaders).TryGetValue(WebTransportSession.CurrentSupportedVersion, out var version) && string.Equals(version, WebTransportSession.VersionEnabledIndicator, StringComparison.Ordinal)) 1223throw new InvalidOperationException(CoreStrings.FormatFailedToNegotiateCommonWebTransportVersion(WebTransportSession.CurrentSupportedVersion)); 1229var version = WebTransportSession.CurrentSupportedVersionSuffix; 1234ResponseHeaders[WebTransportSession.VersionHeaderPrefix] = version;
Internal\Http3\Http3StreamContext.cs (1)
39public WebTransportSession? WebTransportSession { get; set; }
Internal\WebTransport\WebTransportSession.cs (2)
57var session = (WebTransportSession)state!;