FsNetworkHttpRequestState

The FsNetworkHttpRequestState enum contains all the possible return values for the state of a request.

 

Syntax
enum FsNetworkHttpRequestState : unsigned char {
    FS_NETWORK_HTTP_REQUEST_STATE_INVALID,
    FS_NETWORK_HTTP_REQUEST_STATE_NEW,
    FS_NETWORK_HTTP_REQUEST_STATE_WAITING_FOR_DATA,
    FS_NETWORK_HTTP_REQUEST_STATE_DATA_READY,
    FS_NETWORK_HTTP_REQUEST_STATE_FAILED,
};

 

Members
Enum Value Description
FS_NETWORK_HTTP_REQUEST_STATE_INVALID 0 Invalid handle or a an old request which is not in memory anymore.
FS_NETWORK_HTTP_REQUEST_STATE_NEW 1 Request has not yet been sent to the web service.
FS_NETWORK_HTTP_REQUEST_STATE_WAITING_FOR_DATA 2 Waiting for an answer from the web service.
FS_NETWORK_HTTP_REQUEST_STATE_DATA_READY 3 Data ready (will be available only during this frame).
FS_NETWORK_HTTP_REQUEST_STATE_FAILED 4 Failed to retrieve data, slot will be freed upon next update.

 

 

Remarks

N/A

 

 

See Also