UNPKG

526 BTypeScriptView Raw
1export interface WebFetchHeaders {
2 append(name: string, value: string): void;
3 delete(name: string): void;
4 get(name: string): string | null;
5 has(name: string): boolean;
6 set(name: string, value: string): void;
7 forEach(callbackfn: (value: string, key: string, parent: WebFetchHeaders) => void): void;
8}
9export interface WebFetchRequest {
10 readonly headers: WebFetchHeaders;
11 readonly method: string;
12 readonly url: string;
13 clone(): WebFetchRequest;
14}
15//# sourceMappingURL=webfetchapi.d.ts.map
\No newline at end of file