UNPKG

@rr0/cms

Version:

RR0 Content Management System (CMS)

12 lines (11 loc) 468 B
import { HttpFetcher } from "./HttpSource.js"; export interface FetchHttpFetcherOptions { userAgents: string[]; } export declare class FetchHttpFetcher implements HttpFetcher { protected options: FetchHttpFetcherOptions; constructor(options?: FetchHttpFetcherOptions); static findParam(str: string, separator: string, param: string): string; randomUA(): string; fetch<T>(url: URL, init?: RequestInit, resOut?: Partial<Response>): Promise<T>; }