Difference between revisions of "HTTPC:ReceiveDataTimeout"

From 3dbrew
Jump to navigation Jump to search
 
(3 intermediate revisions by 3 users not shown)
Line 15: Line 15:
 
|-
 
|-
 
| 3-4
 
| 3-4
| u64 nanoseconds delay, this specifies the maximum length of time to wait for the server to reply/send data before returning a time-out error?
+
| u64 nanoseconds delay, this specifies the maximum length of time to wait for the server to reply/send data before returning a time-out error
 
|-
 
|-
 
| 5
 
| 5
Line 39: Line 39:
 
=Description=
 
=Description=
 
This writes the downloaded content(after the HTTP headers) to the output buffer.
 
This writes the downloaded content(after the HTTP headers) to the output buffer.
 +
Returns error code 0xd840a02b if the buffer is too small.

Latest revision as of 03:26, 16 December 2014

Request[edit]

Index Word Description
0 Header code [0x000C0102]
1 HTTP context handle
2 Buffer size
3-4 u64 nanoseconds delay, this specifies the maximum length of time to wait for the server to reply/send data before returning a time-out error
5 (OutSize<<4) | 12
6 Output data pointer

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This writes the downloaded content(after the HTTP headers) to the output buffer. Returns error code 0xd840a02b if the buffer is too small.