query

abstract fun <T> query(request: Gw2ApiRequest<T>): Gw2ApiResponse<T>?

Queries the cache for a given Gw2ApiRequest and returns the cached Gw2ApiResponse or null if no appropriate response was cached.

Return

the cached response or null

Since

0.1.0

Parameters

request

the request for which the cache should be checked