ios-dev/comments/Home/node_modules/@tinyhttp/req/dist/fresh.d.ts

7 lines
321 B
TypeScript
Raw Normal View History

2024-03-11 14:47:28 +03:00
/// <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