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