Version: 2019.4
public void Abort ();

説明

進行中の場合、UnityWebRequest をできるだけ早く停止させます。

This method may be called at any time. If the UnityWebRequest has not already completed, the UnityWebRequest will halt uploading or downloading data as soon as possible. Aborted UnityWebRequests are considered to have encountered a system error. Either the isNetworkError or the isHttpError property will return true and the error property will be "User Aborted".

Send を呼び出す前にこのメソッドを呼び出した場合、UnityWebRequest は Send 呼び出しの直後に中止されます。

UnityWebRequest に別のエラーが発生した、またはリモートサーバーとの通信が正常に終了後にこのメソッドを呼び出す影響はありません。