HTTPC:GetRequestState: Difference between revisions
Jump to navigation
Jump to search
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00050040] |- | 1 | HTTP context handle |} =Response= {| class="wikitable" borde..." |
DaniElectra (talk | contribs) m →States |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 33: | Line 33: | ||
! Value | ! Value | ||
! Description | ! Description | ||
|- | |||
| 0x1 | |||
| Request has not started yet. | |||
|- | |- | ||
| 0x5 | | 0x5 | ||
| Request in progress, sending request | | Request in progress, connecting to server. | ||
|- | |||
| 0x6 | |||
| Request in progress, sending HTTP request. | |||
|- | |- | ||
| 0x7 | | 0x7 | ||
| Ready to | | Request in progress, receiving HTTP response. | ||
|- | |||
| 0x8 | |||
| Ready to download the content. | |||
|- | |||
| 0xA | |||
| Request timed out? | |||
|- | |||
|} | |} | ||
=Description= | =Description= | ||
This returns the request state, this is used to determine when to download the | This returns the request state, this is used to determine when to download the content. |
Latest revision as of 01:14, 2 February 2024
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, connecting to server. |
0x6 | Request in progress, sending HTTP request. |
0x7 | Request in progress, receiving HTTP response. |
0x8 | Ready to download the content. |
0xA | Request timed out? |
Description
This returns the request state, this is used to determine when to download the content.