pub unsafe extern "C" fn httpcDownloadData(
context: *mut httpcContext,
buffer: *mut u8_,
size: u32_,
downloadedsize: *mut u32_,
) -> ResultExpand description
Downloads data from the HTTP context into a buffer. The entire content must be downloaded before using httpcCloseContext(), otherwise httpcCloseContext() will hang.
ยงArguments
context- Context to download data from.buffer- Buffer to write data to.size- Size of the buffer.downloadedsize- Pointer to write the size of the downloaded data to.