Version: 2022.2

Result

enumeration

切换到手册

描述

Defines codes describing the possible outcomes of a UnityWebRequest.

变量

InProgressThe request hasn't finished yet.
SuccessThe request succeeded.
ConnectionErrorFailed to communicate with the server. For example, the request couldn't connect or it could not establish a secure channel.
ProtocolErrorThe server returned an error response. The request succeeded in communicating with the server, but received an error as defined by the connection protocol.
DataProcessingErrorError 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.