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