Frontend/25_02_24/node_modules/@tinyhttp/vary/dist/index.d.ts

10 lines
282 B
TypeScript
Raw Normal View History

2025-02-25 08:55:29 +00:00
import { ServerResponse } from 'node:http';
declare function append(header: string, field: string | string[]): string;
/**
* Mark that a request is varied on a header field.
*/
declare function vary(res: ServerResponse, field: string | string[]): void;
export { append, vary };