UNPKG

nekosapi

Version:

Async wrapper for NekosAPI

11 lines 448 B
/// <reference types="node" /> import { URL } from "url"; import axios from "axios"; import { CustomProxy } from "./Proxy"; export default class Base { protected socks5Proxy?: CustomProxy; constructor(proxy?: CustomProxy); protected fetchResponse<T>(url: URL, config?: axios.AxiosRequestConfig): Promise<T>; protected static checkResponseCode<T>(response: axios.AxiosResponse<T>): Promise<void>; } //# sourceMappingURL=base.d.ts.map