Share via


IHttpExtendedConnectFeature 介面

定義

與需要擴充 CONNECT 交握的通訊協定搭配使用,例如 HTTP/2 WebSockets 和 WebTransport。 https://www.rfc-editor.org/rfc/rfc8441#section-4

public interface IHttpExtendedConnectFeature
type IHttpExtendedConnectFeature = interface
Public Interface IHttpExtendedConnectFeature

屬性

IsExtendedConnect

指出目前的要求是否為可透過 AcceptAsync 轉換為不透明連線的擴充 CONNECT 要求。

Protocol

要求 :protocol 中包含的標頭。

方法

AcceptAsync()

使用 200 狀態碼傳送回應標頭,並轉換為不透明串流。

適用於