console library

Classes

Client
HTTP Client interface.
ConsoleClient
HTTP Client in console (server) environment.
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.

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.