共用方式為


IHttpUpgradeFeature.UpgradeAsync 方法

定義

嘗試將要求升級為不透明、雙向資料流程。 叫用此動作之前,必須先設定回應狀態碼和標頭。 叫用之前先檢查 IsUpgradableRequest

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)

傳回

適用於