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)
Returns
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for