UnityWebRequest.Result
Defines codes describing the possible outcomes of a UnityWebRequest.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.Networking
- Assembly: UnityEngine.UnityWebRequestModule
public enum UnityWebRequest.Result
Fields
Value | Description |
|---|---|
| ConnectionError | Failed to communicate with the server. For example, the request couldn't connect or it could not establish a secure channel. |
| DataProcessingError | Error processing data. The request succeeded in communicating with the server, but encountered an error when processing the received data. For example, the data was corrupted or not in the correct format. |
| InProgress | The request hasn't finished yet. |
| ProtocolError | The server returned an error response. The request succeeded in communicating with the server, but received an error as defined by the connection protocol. |
| Success | The request succeeded. |