Function ctru_sys::httpcReceiveDataTimeout
source · pub unsafe extern "C" fn httpcReceiveDataTimeout(
context: *mut httpcContext,
buffer: *mut u8_,
size: u32_,
timeout: u64_
) -> Result
Expand description
Receives data from a HTTP context with a timeout value.
§Arguments
context
- Context to use.buffer
- Buffer to receive data to.size
- Size of the buffer.timeout
- Maximum time in nanoseconds to wait for a reply.