UNPKG

renovate

Version:

Automated dependency updates. Flexible so you don't need to be.

11 lines (10 loc) 528 B
import { GotOptions, HttpResponse } from "../types.js"; //#region lib/util/http/cache/types.d.ts interface HttpCacheProvider { setCacheHeaders<T extends Pick<GotOptions, 'headers'>>(method: string, url: string, opts: T): Promise<void>; bypassServer<T>(method: string, url: string, ignoreSoftTtl?: boolean): Promise<HttpResponse<T> | null>; wrapServerResponse<T>(method: string, url: string, resp: HttpResponse<T>): Promise<HttpResponse<T>>; } //#endregion export { HttpCacheProvider }; //# sourceMappingURL=types.d.ts.map