Macros | Functions
http.c File Reference

Minimalistic WWW client. More...

Go to the source code of this file.

Macros

#define MAIN_ERR_PREFIX   "HTTP: "
 Message prefix for HTTP module.
 
#define HTTP_PERM   (posix_mode_t) (POSIX_S_IRUSR | POSIX_S_IWUSR)
 Permissions for downloaded files that are created by this module.
 
#define HTTP_LINE_MAX   (size_t) 8192
 At least 8000 octets recommended by RFC 7230.
 

Functions

int http_download_file (const char *uri, const char *lpn)
 Download file from WWW via HTTP. More...
 

Detailed Description

Minimalistic WWW client.

Copyright (c) 2015-2020 by the developers. See the LICENSE file for details.

If nothing else is specified, functions return zero to indicate success and a negative value to indicate an error.

Definition in file http.c.


Generated at 2024-04-27 using  doxygen