UNPKG

566 BTypeScriptView Raw
1/// <reference types="node" />
2/// <reference types="node" />
3import { Telemetry } from "./telemetry";
4import * as http from "http";
5import * as https from "https";
6/**
7 * Object encapsulating information about the outgoing request
8 */
9export interface NodeHttpDependencyTelemetry extends Telemetry {
10 /**
11 * Request options that will be used to instrument outgoing request
12 */
13 options: string | URL | http.RequestOptions | https.RequestOptions;
14 /**
15 * Outgoing HTTP request object
16 */
17 request: http.ClientRequest;
18}