Difference between revisions of "HTTPC:GetResponseHeaderTimeout"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x001F0144] |- | 1 | HTTP context handle |- | 2 | Header name buffer size, includi...")
 
 
(6 intermediate revisions by 2 users not shown)
Line 18: Line 18:
 
|-
 
|-
 
| 4-5
 
| 4-5
| u64 max [[HTTPC:ReceiveData|delay]]?
+
| u64 nanoseconds timeout
 
|-
 
|-
 
| 6
 
| 6
Line 44: Line 44:
 
| 1
 
| 1
 
| Result code
 
| Result code
 +
|-
 +
| 2
 +
| Total header value buffer size
 
|}
 
|}
 +
 +
=Description=
 +
This obtains the string value for the specified HTTP response header. This returns error-code 0xD8A0A028 when the specified header doesn't exist in the received response.

Latest revision as of 04:34, 16 December 2014

Request[edit]

Index Word Description
0 Header code [0x001F0144]
1 HTTP context handle
2 Header name buffer size, including null-terminator.
3 Header value buffer max size, including null-terminator.
4-5 u64 nanoseconds timeout
6 (HeaderNameSize<<14) | 0xC02
7 Header name input data pointer
8 (HeaderValueSize<<4) | 12
9 Header value output data pointer

Response[edit]

Index Word Description
0 Header code
1 Result code
2 Total header value buffer size

Description[edit]

This obtains the string value for the specified HTTP response header. This returns error-code 0xD8A0A028 when the specified header doesn't exist in the received response.