Package-level declarations
Types
Link copied to clipboard
Utility methods used to read/write a NetworkResponse from/to the disk cache.
Link copied to clipboard
Controls the behavior around reading/writing responses from/to the disk cache.
Link copied to clipboard
Determines if the device is able to access the internet.
Link copied to clipboard
Exception for an unexpected, non-2xx HTTP response.
Link copied to clipboard
interface NetworkClient
An asynchronous HTTP client that executes NetworkRequests and returns NetworkResponses.
Link copied to clipboard
class NetworkFetcher(url: String, options: Options, networkClient: Lazy<NetworkClient>, diskCache: Lazy<DiskCache?>, cacheStrategy: Lazy<CacheStrategy>, connectivityChecker: ConnectivityChecker) : Fetcher
A Fetcher that fetches and caches images from the network.
Link copied to clipboard
A list of HTTP headers.
Link copied to clipboard
@Poko
Represents an HTTP request.
Link copied to clipboard
interface NetworkRequestBody
Link copied to clipboard
@Poko
Represents an HTTP response.
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Set the HTTP request body for any network operations performed by this image request.
Link copied to clipboard
Set the HTTP request headers for any network operations performed by this image request.
Link copied to clipboard
Set the HTTP request method for any network operations performed by this image request.
Link copied to clipboard
Link copied to clipboard