IHttpUpgradeFeature.UpgradeAsync Method
Definition
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.
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.
public:
System::Threading::Tasks::Task<System::IO::Stream ^> ^ UpgradeAsync();
public System.Threading.Tasks.Task<System.IO.Stream> UpgradeAsync ();
abstract member UpgradeAsync : unit -> System.Threading.Tasks.Task<System.IO.Stream>
Public Function UpgradeAsync () As Task(Of Stream)