HTTPC:GetRequestState

HTTPC:GetRequestState

Request #

Index WordDescription
0Header code [0x00050040]
1HTTP context handle

Response #

Index WordDescription
0Header code
1Result code
2Output state

States #

ValueDescription
0x1Request has not started yet.
0x5Request in progress, connecting to server.
0x6Request in progress, sending HTTP request.
0x7Request in progress, receiving HTTP response.
0x8Ready to download the content.
0xARequest timed out?

Description #

This returns the request state, this is used to determine when to download the content.