Share via


IHttpWebTransportFeature 介面

定義

注意

您必須在專案檔中將 EnablePreviewFeatures 屬性設定為 True,並啟用專案中的預覽功能,才能使用此預覽 API。 如需詳細資訊,請參閱 https://aka.ms/dotnet-preview-features

WebTransport is a preview feature.

用於接受和擷取 WebTransport 會話的 API。

public interface IHttpWebTransportFeature
type IHttpWebTransportFeature = interface
Public Interface IHttpWebTransportFeature

屬性

IsWebTransportRequest

指出此要求是否為 WebTransport 要求。

方法

AcceptAsync(CancellationToken)

接受會話要求,並允許串流開始使用。

適用於