first commit
This commit is contained in:
10
grafana/dashboards/requests/node_modules/http-basic/lib/FileCache.d.ts
generated
vendored
Normal file
10
grafana/dashboards/requests/node_modules/http-basic/lib/FileCache.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { ICache } from './ICache';
|
||||
import { CachedResponse } from './CachedResponse';
|
||||
export default class FileCache implements ICache {
|
||||
private readonly _location;
|
||||
constructor(location: string);
|
||||
getResponse(url: string, callback: (err: null | Error, response: null | CachedResponse) => void): void;
|
||||
setResponse(url: string, response: CachedResponse): void;
|
||||
updateResponseHeaders(url: string, response: Pick<CachedResponse, 'headers' | 'requestTimestamp'>): void;
|
||||
invalidateResponse(url: string, callback: (err: NodeJS.ErrnoException | null) => void): void;
|
||||
}
|
||||
Reference in New Issue
Block a user