UNPKG

@tuplo/fletcher

Version:

Web scraping HTTP request library

9 lines (8 loc) 349 B
import { type AxiosResponseHeaders } from "axios"; import { type IFletcherOptions, type IResponse } from "../fletcher"; export declare function request(url: string, userOptions?: Partial<IFletcherOptions>): Promise<IResponse | { headers: AxiosResponseHeaders; statusCode: number; statusMessage: string; text: () => Promise<any>; }>;