KEEL 1.0.0
Minimal C11 HTTP client/server library built on epoll/kqueue/io_uring/poll
Loading...
Searching...
No Matches
Data Fields
KlClientConfig Struct Reference

#include <client.h>

Collaboration diagram for KlClientConfig:
Collaboration graph
[legend]

Data Fields

int timeout_ms
 
size_t max_response_size
 
KlTlsConfigtls
 
KlResolverresolver
 
KlDecompressConfigdecompress
 
KlProxyConfigproxy
 

Field Documentation

◆ timeout_ms

int KlClientConfig::timeout_ms

Connect/send/recv timeout (0 = default 30s)

◆ max_response_size

size_t KlClientConfig::max_response_size

Max response body (0 = default 4 MB)

◆ tls

KlTlsConfig* KlClientConfig::tls

TLS config for HTTPS (NULL = no HTTPS)

◆ resolver

KlResolver* KlClientConfig::resolver

Async DNS resolver (NULL = sync getaddrinfo)

◆ decompress

KlDecompressConfig* KlClientConfig::decompress

Response decompression (NULL = no decompression)

◆ proxy

KlProxyConfig* KlClientConfig::proxy

HTTP proxy (NULL = direct connection)


The documentation for this struct was generated from the following file: