responseCode
The numeric HTTP response code returned by the server, such as 200, 404 or 500. (Read Only)
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine.Networking
- Assembly: UnityEngine.UnityWebRequestModule
public long responseCode { get; }
Remarks
If the UnityWebRequest has received multiple responses (due to redirects), then this property will return the response code of the newest (or final) HTTP response.
If the UnityWebRequest has not yet processed a response, this property will return -1.