Dela via


IHttpUpgradeFeature Interface

Definition

Provides access to server upgrade features.

public interface class IHttpUpgradeFeature
public interface IHttpUpgradeFeature
type IHttpUpgradeFeature = interface
Public Interface IHttpUpgradeFeature

Properties

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 IsUpgradableRequest before invoking.

Applies to