routup
Version:
Routup is a minimalistic http based routing framework.
5 lines (4 loc) • 320 B
TypeScript
import type { OutgoingHttpHeader } from 'node:http';
import type { Response } from '../types';
export declare function appendResponseHeader(res: Response, name: string, value: OutgoingHttpHeader): void;
export declare function appendResponseHeaderDirective(res: Response, name: string, value: OutgoingHttpHeader): void;