IHttpExtendedConnectFeature Interface

Definition

Used with protocols that require the Extended CONNECT handshake such as HTTP/2 WebSockets and WebTransport. https://www.rfc-editor.org/rfc/rfc8441#section-4

public interface IHttpExtendedConnectFeature
type IHttpExtendedConnectFeature = interface
Public Interface IHttpExtendedConnectFeature

Properties

IsExtendedConnect

Indicates if the current request is a Extended CONNECT request that can be transitioned to an opaque connection via AcceptAsync.

Protocol

The :protocol header included in the request.

Methods

AcceptAsync()

Send the response headers with a 200 status code and transition to opaque streaming.

Applies to