(superAgentResponse)
| 23468 | })(CacheType || (CacheType = {})) |
| 23469 | class WillowHTTPResponse { |
| 23470 | constructor(superAgentResponse) { |
| 23471 | this._cacheType = CacheType.inBrowserMemory |
| 23472 | this._fromCache = false |
| 23473 | this._cacheTime = Date.now() |
| 23474 | this._superAgentResponse = superAgentResponse |
| 23475 | this._mimeType = superAgentResponse && superAgentResponse.type |
| 23476 | } |
| 23477 | // todo: ServerMemoryCacheTime and ServerMemoryDiskCacheTime |
| 23478 | get cacheTime() { |
| 23479 | return this._cacheTime |
nothing calls this directly
no outgoing calls
no test coverage detected