UNPKG

urllib

Version:

Help in opening URLs (mostly HTTP) in a complex world — basic and digest authentication, redirections, cookies and more. Base undici fetch API.

7 lines (6 loc) 459 B
import { FixJSONCtlChars } from './Request'; export declare function parseJSON(data: string, fixJSONCtlChars?: FixJSONCtlChars): string; export declare function sleep(ms: number): Promise<void>; export declare function digestAuthHeader(method: string, uri: string, wwwAuthenticate: string, userpass: string): string; export declare function globalId(category: string): number; export declare function performanceTime(startTime: number, now?: number): number;