1 instantiation of WebTransportSession
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http3\Http3Connection.cs (1)
936session = 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; 538foreach (var session in _webtransportSessions.Values) 647if (!_webtransportSessions.TryGetValue(correspondingSession, out var session)) 927internal WebTransportSession OpenNewWebTransportSession(Http3Stream http3Stream) 931WebTransportSession session;
Internal\Http3\Http3Stream.cs (6)
902if (string.Equals(HttpRequestHeaders.HeaderProtocol, WebTransportSession.WebTransportProtocolValue, StringComparison.Ordinal)) 905if (((AspNetCore.Http.IHeaderDictionary)HttpRequestHeaders).TryGetValue(WebTransportSession.CurrentSupportedVersion, out var version) && string.Equals(version, WebTransportSession.VersionEnabledIndicator, StringComparison.Ordinal)) 1279throw new InvalidOperationException(CoreStrings.FormatFailedToNegotiateCommonWebTransportVersion(WebTransportSession.CurrentSupportedVersion)); 1285var version = WebTransportSession.CurrentSupportedVersionSuffix; 1290ResponseHeaders[WebTransportSession.VersionHeaderPrefix] = version;
Internal\Http3\Http3StreamContext.cs (1)
39public WebTransportSession? WebTransportSession { get; set; }
Internal\WebTransport\WebTransportSession.cs (2)
57var session = (WebTransportSession)state!;