Share via


IHttpWebTransportFeature Interface

Definition

Note

To use this preview API, you must enable preview features in your project by setting the EnablePreviewFeatures property to True in your project file. For more information, see https://aka.ms/dotnet-preview-features.

WebTransport is a preview feature.

API for accepting and retrieving WebTransport sessions.

public interface IHttpWebTransportFeature
type IHttpWebTransportFeature = interface
Public Interface IHttpWebTransportFeature

Properties

Name Description
IsWebTransportRequest

Indicates if this request is a WebTransport request.

Methods

Name Description
AcceptAsync(CancellationToken)

Accept the session request and allow streams to start being used.

Applies to