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.​IHttpExtendedConnectFeature
Assembly: Microsoft.AspNetCore.Http.Features
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
Properties
bool
IsExtendedConnect
Indicates if the current request is a Extended CONNECT request that can be transitioned to an opaque connection via AcceptAsync.
string
Protocol
The <c>:protocol</c> header included in the request.
Methods
System.​Threading.​Tasks.​ValueTask<​System.​IO.​Stream>
AcceptAsync​()
Send the response headers with a 200 status code and transition to opaque streaming.
Returns An opaque bidirectional stream.