Methods
(async, inner) getCachedResource(attrs) → {Promise.<*>}
Make a HTTP request using an in-memory cache
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
attrs |
object | Refer to individual attrs Properties
|
Throws:
-
- Error if unable to parse response
- Type
- InvalidResponse
Returns:
Promise that resolves to parsed response
- Type
- Promise.<*>