7 lines
321 B
TypeScript
7 lines
321 B
TypeScript
/// <reference types="node" />
|
|
import { IncomingHttpHeaders, OutgoingHttpHeaders } from 'node:http';
|
|
/**
|
|
* Check freshness of the response using request and response headers.
|
|
*/
|
|
export declare function fresh(reqHeaders: IncomingHttpHeaders, resHeaders: OutgoingHttpHeaders): boolean;
|
|
//# sourceMappingURL=fresh.d.ts.map
|