IHttpUpgradeFeature.UpgradeAsync Method

Definition

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