Bones/node_modules/popsicle/dist/common.d.ts
SOUTHERNCO\x2mjbyrn 7efe7605b8 Template Upload
2017-05-17 13:45:25 -04:00

19 lines
1.0 KiB
TypeScript

import Request, { RequestOptions, DefaultsOptions } from './request';
import Response from './response';
import * as plugins from './plugins/index';
import form from './form';
import jar from './jar';
import PopsicleError from './error';
import * as transport from './index';
export declare function defaults(defaultsOptions: DefaultsOptions): (options: RequestOptions | string) => Request;
export declare const browser: boolean;
export declare const request: (options: RequestOptions | string) => Request;
export declare const get: (options: RequestOptions | string) => Request;
export declare const post: (options: RequestOptions | string) => Request;
export declare const put: (options: RequestOptions | string) => Request;
export declare const patch: (options: RequestOptions | string) => Request;
export declare const del: (options: RequestOptions | string) => Request;
export declare const head: (options: RequestOptions | string) => Request;
export { Request, Response, PopsicleError, plugins, form, jar, transport };
export default request;