mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-12-23 09:02:06 +00:00
http: add extra info about httpDownloadData().
This commit is contained in:
parent
63d9be7db1
commit
882a7581cc
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ bool httpPerformGetRequest(const char *url, bool force_https, size_t *outsize, H
|
|||
bool httpDownloadFile(const char *path, const char *url, bool force_https, HttpProgressCallback progress_cb, void *progress_ptr);
|
||||
|
||||
/// Wrapper for httpPerformGetRequest() + httpWriteBufferCallback() that manages a HttpBuffer element on its own.
|
||||
/// Returns a pointer to a dynamically allocated buffer that holds the downloaded data, which must be freed by the user.
|
||||
/// Returns a pointer to a dynamically allocated buffer that holds the downloaded data, which must be freed by the user. This buffer is not NULL terminated.
|
||||
/// Providing 'outsize' is mandatory. Returns NULL if the request fails.
|
||||
char *httpDownloadData(size_t *outsize, const char *url, bool force_https, HttpProgressCallback progress_cb, void *progress_ptr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue