Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Microsoft.​AspNetCore.​Http.​Features.​IHttpWebTransportFeature

Assembly: Microsoft.AspNetCore.Http.Features

API for accepting and retrieving WebTransport sessions.

Properties

bool
IsWebTransportRequest
Indicates if this request is a WebTransport request.

Methods

AcceptAsync​(System.​Threading.​CancellationToken cancellationToken = null)
Accept the session request and allow streams to start being used.
Returns An instance of a WebTransportSession which will be used to control the connection.
cancellationToken The cancellation token to cancel waiting for the session.