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.​IHttpUpgradeFeature

Assembly: Microsoft.AspNetCore.Http.Features

Provides access to server upgrade features.

Properties

bool
IsUpgradableRequest
Indicates if the server can upgrade this request to an opaque, bidirectional stream.

Methods

UpgradeAsync​()
Attempt to upgrade the request to an opaque, bidirectional stream. The response status code and headers need to be set before this is invoked. Check <see cref="P:Microsoft.AspNetCore.Http.Features.IHttpUpgradeFeature.IsUpgradableRequest" /> before invoking.