Difference between revisions of "HTTPC:GetResponseHeader"

From 3dbrew
Jump to navigation Jump to search
 
Line 1: Line 1:
#REDIRECT [[HTTPC:GetResponseHeaderDelay]]
+
=Request=
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Index Word
 +
!  Description
 +
|-
 +
| 0
 +
| Header code [0x001E00C4]
 +
|-
 +
| 1
 +
| HTTP context handle
 +
|-
 +
| 2
 +
| Header name buffer size, including null-terminator.
 +
|-
 +
| 3
 +
| Header value buffer max size, including null-terminator.
 +
|-
 +
| 4
 +
| (HeaderNameSize<<14)  <nowiki>|</nowiki> 0xC02
 +
|-
 +
| 5
 +
| Header name input data pointer
 +
|-
 +
| 6
 +
| (HeaderValueSize<<4)  <nowiki>|</nowiki> 12
 +
|-
 +
| 7
 +
| Header value output data pointer
 +
|}
 +
 
 +
=Response=
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Index Word
 +
!  Description
 +
|-
 +
| 0
 +
| Header code
 +
|-
 +
| 1
 +
| Result code
 +
|}
 +
 
 +
=Description=
 +
This is the same as [[HTTPC:GetResponseHeaderDelay]], without the delay.

Revision as of 05:17, 10 July 2013

Request

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

Response

Index Word Description
0 Header code
1 Result code

Description

This is the same as HTTPC:GetResponseHeaderDelay, without the delay.