IHttpUpgradeFeature Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides access to server upgrade features.
public interface class IHttpUpgradeFeature
C#
public interface IHttpUpgradeFeature
type IHttpUpgradeFeature = interface
Public Interface IHttpUpgradeFeature
Is |
Indicates if the server can upgrade this request to an opaque, bidirectional stream. |
Upgrade |
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. |
Product | Versions |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |