Guide#

How LWHTTP works and how to use it well.

Event loop and callbacks

The asynchronous model, the blocking wrappers and the rules for callbacks.

Event loop and callbacks
Requests

Methods, targets, headers and every kind of request body.

Requests
Responses

Status, headers, streamed bodies, trailers and strict content handling.

Responses
Redirects

Which redirects are followed and how methods and headers change.

Redirects
Connections

Keep-alive reuse, retries, timeouts, upgrades and statistics.

Connections
HTTPS

TLS through lwIP-CE and the limits that come with it.

HTTPS
Memory

What each client costs and how to size it.

Memory
Errors

Every result code and what usually causes it.

Errors