ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
client.c File Reference

🌐 HTTPS client with BearSSL for fetching public keys from GitHub/GitLab with CA validation More...

Go to the source code of this file.

Macros

#define NETWORK_HTTP_CLIENT_SIZE_TEXT_BUFFER_SIZE   32
#define HTTPS_MAX_RESPONSE_SIZE   (1024 * 1024)

Functions

char * https_get (const char *hostname, const char *path)
 Perform HTTPS GET request.

Detailed Description

🌐 HTTPS client with BearSSL for fetching public keys from GitHub/GitLab with CA validation

Definition in file lib/network/http/client/client.c.

Macro Definition Documentation

◆ HTTPS_MAX_RESPONSE_SIZE

#define HTTPS_MAX_RESPONSE_SIZE   (1024 * 1024)

Definition at line 171 of file lib/network/http/client/client.c.

Referenced by https_get().

◆ NETWORK_HTTP_CLIENT_SIZE_TEXT_BUFFER_SIZE

#define NETWORK_HTTP_CLIENT_SIZE_TEXT_BUFFER_SIZE   32

Definition at line 3 of file lib/network/http/client/client.c.