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