Http Tile Byte Source
class HttpTileByteSource(clientFactory: () -> HttpClient = { DefaultHttpClient() }) : TileByteSource
TileByteSource over ktor — the default HTTP transport, wrapping a lazily-built DefaultHttpClient.
Constructors
Functions
Link copied to clipboard
open suspend override fun get(uri: String, headers: Map<String, String> = emptyMap()): TileByteResponse
Fetch raw bytes for an already-rewritten uri. A miss is a non-success TileByteResponse.statusCode, not a throw; only real transport failures throw.