1 implementation of IWebTransportSession
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\WebTransport\WebTransportSession.cs (1)
17internal sealed class WebTransportSession : IWebTransportSession
12 references to IWebTransportSession
InMemory.FunctionalTests (3)
Http3\WebTransport\WebTransportHandshakeTests.cs (1)
37var session = await webTransportFeature.AcceptAsync(CancellationToken.None).DefaultTimeout(); // todo session is null here
Http3\WebTransport\WebTransportTestUtilities.cs (2)
27var appCompletedTcs = new TaskCompletionSource<IWebTransportSession>(TaskCreationOptions.RunContinuationsAsynchronously); 35var session = await webTransportFeature.AcceptAsync(CancellationToken.None).DefaultTimeout();
Microsoft.AspNetCore.Http.Features (1)
IHttpWebTransportFeature.cs (1)
24ValueTask<IWebTransportSession> AcceptAsync(CancellationToken cancellationToken = default);
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
349public virtual ValueTask<IWebTransportSession> AcceptAsync(CancellationToken token)
Internal\Http3\Http3Stream.cs (1)
1208public override async ValueTask<IWebTransportSession> AcceptAsync(CancellationToken token)
Internal\WebTransport\WebTransportSession.cs (1)
62void IWebTransportSession.Abort(int errorCode)
WebTransportInteractiveSampleApp (4)
Program.cs (4)
62var session = await feature.AcceptAsync(CancellationToken.None); 93static async Task handleUnidirectionalStream(IWebTransportSession session, ConnectionContext stream) 113static async Task handleBidirectionalStream(IWebTransportSession session, ConnectionContext stream) 140static async Task ApplySpecialCommands(IWebTransportSession session, string message)
WebTransportSampleApp (1)
Program.cs (1)
31var session = await feature.AcceptAsync(CancellationToken.None);