Skip to main content

Module http_async

Module http_async 

Source
Expand description

Async wrapper around cURL for making managing HTTP requests.

Requests are executed in parallel using cURL Multi on a worker thread that is owned by the Client.

Structsยง

Client
HTTP Client. Creating a new client spawns a cURL Multi and thread that is used for all HTTP requests by this client.
Collector ๐Ÿ”’
Interface that cURL (Easy2) uses to make progress.
Extensions ๐Ÿ”’
Additional fields on an [http::Response].
Message ๐Ÿ”’
WorkerServer ๐Ÿ”’
Manages the cURL Multi. Processes incoming work sent over the channel, and returns responses.

Enumsยง

Error

Traitsยง

ResponsePartsExtensions

Functionsยง

handle_http_header ๐Ÿ”’
Splits HTTP HEADER: VALUE to a tuple.

Type Aliasesยง

HttpResult ๐Ÿ”’
Request ๐Ÿ”’
Response ๐Ÿ”’