curl library

Classes

Client
HTTP Client interface.
CurlClient
HTTP Client in Linux environment, executing the curl binary. Use it only if the required feature (e.g. SOCKS proxy) is not available in console.dart's ConsoleClient.
Headers
HTTP Headers Headers object is mutable and values can be added up until Client.send is called.
RedirectInfo
Information about the redirect step.
Request
HTTP Request object
Response
A HTTP Response object.
TrackingClient
Tracks the entire lifecycle of a request, keeps track the number of ongoing and completed requests.
UpdatingClient
Automatically updates the underlying client after the specified use limits.

Enums

CurlSocksProxyType
SOCKS is a protocol used for proxies and curl supports it. curl supports both SOCKS version 4 as well as version 5, and both versions come in two flavors. https://ec.haxx.se/usingcurl/usingcurl-proxies#socks-types

Typedefs

CloseClientFn = Future Function(TrackingClient client, bool forceClose)
Closes a HTTP client.
CreateClientFn = Future<Client> Function()
Creates a HTTP client asynchronously.
StreamFn = FutureOr<Stream<List<int>>> Function()
A restartable input stream.