Server IP : 92.205.26.207 / Your IP : 216.73.216.16 Web Server : Apache System : Linux 207.26.205.92.host.secureserver.net 4.18.0-553.60.1.el8_10.x86_64 #1 SMP Thu Jul 10 04:01:16 EDT 2025 x86_64 User : zikryat ( 1002) PHP Version : 8.3.23 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/zikryat/public_html/node_modules/gaxios/build/src/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
/// <reference types="node" /> import { Agent } from 'http'; import { URL } from 'url'; import { GaxiosOptions, GaxiosPromise } from './common'; export declare class Gaxios { protected agentCache: Map<string, Agent | ((parsedUrl: URL) => Agent)>; /** * Default HTTP options that will be used for every HTTP request. */ defaults: GaxiosOptions; /** * The Gaxios class is responsible for making HTTP requests. * @param defaults The default set of options to be used for this instance. */ constructor(defaults?: GaxiosOptions); /** * Perform an HTTP request with the given options. * @param opts Set of HTTP options that will be used for this HTTP request. */ request<T = any>(opts?: GaxiosOptions): GaxiosPromise<T>; private _defaultAdapter; /** * Internal, retryable version of the `request` method. * @param opts Set of HTTP options that will be used for this HTTP request. */ protected _request<T = any>(opts?: GaxiosOptions): GaxiosPromise<T>; private getResponseData; /** * Validates the options, and merges them with defaults. * @param opts The original options passed from the client. */ private validateOpts; /** * By default, throw for any non-2xx status code * @param status status code from the HTTP response */ private validateStatus; /** * Encode a set of key/value pars into a querystring format (?foo=bar&baz=boo) * @param params key value pars to encode */ private paramsSerializer; private translateResponse; }