UNPKG

321 BTypeScriptView Raw
1import Response = require("./lib/node/response");
2import { UrlObject } from "url";
3
4export interface AgentOptions {
5 ca?: any;
6 key?: any;
7 pfx?: any;
8 cert?: any;
9 rejectUnauthorized?: boolean;
10}
11
12export type CBHandler = (err: any, res: Response) => void;
13
14export type URLType = string | URL | UrlObject;