securityos/node_modules/@polka/url/index.d.ts

11 lines
234 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
import type { IncomingMessage } from 'http';
export interface ParsedURL {
pathname: string;
search: string;
query: Record<string, string | string[]> | void;
raw: string;
}
export function parse(req: IncomingMessage): ParsedURL;