(url, queryStringMap = {}, responseClass = WillowHTTPResponse)
| 23777 | return this |
| 23778 | } |
| 23779 | async httpGetUrlFromCache(url, queryStringMap = {}, responseClass = WillowHTTPResponse) { |
| 23780 | const cacheKey = url + JSON.stringify(queryStringMap) |
| 23781 | const cacheHit = this._getFromResponseCache(cacheKey) |
| 23782 | if (!cacheHit) { |
| 23783 | const res = await this.httpGetUrl(url, queryStringMap, responseClass) |
| 23784 | this._setInResponseCache(cacheKey, res) |
| 23785 | return res |
| 23786 | } |
| 23787 | return cacheHit |
| 23788 | } |
| 23789 | async httpGetUrlFromProxyCache(url) { |
| 23790 | const queryStringMap = {} |
| 23791 | queryStringMap.url = url |
no test coverage detected