blob: a2b864e97c033b23acc652bec0ef237543aeb8b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
import { OptionsOfTextResponseBody } from "got";
/**
* Refer [got.Options](https://www.npmjs.com/package/got) for documentation of `OptionsOfTextResponseBody`
*/
export declare class Requester {
readonly url: string;
readonly options: OptionsOfTextResponseBody;
constructor(url: string, options: OptionsOfTextResponseBody);
get(route: string, headers?: Record<string, string>): Promise<string>;
_handleError(err: unknown): unknown;
}
|