monart_http library

HTTP client foundation for Dart built on top of monart.

Import this library to access HttpServiceBase, HttpClientConfiguration, and all supporting types needed to build typed HTTP service objects.

Classes

DevToolsHttpLogger
An HttpLogger that writes to the Flutter DevTools Logging tab.
HttpCache
Contract for caching HTTP responses.
HttpClientConfiguration
Holds the connection settings shared by all services of one HTTP client.
HttpLogger
Contract for logging HTTP requests, responses, and network errors.
HttpResponse
A parsed HTTP response, decoupled from the dio internals.
HttpServiceBase<Value>
Base class for HTTP service objects following Railway-Oriented Programming.
InMemoryHttpCache
An HttpCache that stores responses in memory for the duration of the process.
NullHttpCache
An HttpCache that never caches — every call executes the request.
NullHttpLogger
An HttpLogger that silently discards all log events.

Enums

HttpMethod
The HTTP verb used by an HttpServiceBase subclass to make its request.