HTTPC:GetResponseHeaderTimeout

HTTPC:GetResponseHeaderTimeout

Request #

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

Response #

Index WordDescription
0Header code
1Result code
2Total 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.