文档

Unity Engine

Unity Engine

UnityWebRequest.Result

Defines codes describing the possible outcomes of a UnityWebRequest.
阅读时间1 分钟最后更新于 1 个月前

Definition

public enum UnityWebRequest.Result

Fields

Value

Description

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