atomics-http
Version:
atomics-http is a Node.js extension that provides synchronous http calls.
13 lines (12 loc) • 380 B
TypeScript
/// <reference types="node" />
import * as http from "http";
import { AgentAdapter } from "../AgentHandler";
import * as https from "https";
interface HPA extends http.Agent, https.Agent {
proxy: Object;
}
interface ProxyAgentAdapter extends AgentAdapter {
name: string;
}
declare const _default: (agent: HPA, constructor: string) => ProxyAgentAdapter;
export = _default;