HTTPC:GetRequestState
Request
| Index Word | Description |
|---|---|
| 0 | Header code [0x00050040] |
| 1 | HTTP context handle |
Response
| Index Word | Description |
|---|---|
| 0 | Header code |
| 1 | Result code |
| 2 | Output state |
States
| Value | Description |
|---|---|
| 0x1 | Request has not started yet. |
| 0x5 | Request in progress, sending request over the network. |
| 0x7 | Ready to download the content. (needs verification) |
| 0x8 | Ready to download? |
| 0xA | Request timed out? |
Description
This returns the request state, this is used to determine when to download the content.