⚠️ Internal: This API is not publically exported by the package.

      Interface ClientRequestArgs

      interface ClientRequestArgs {
          _defaultAgent?: Agent;
          agent?: boolean | Agent;
          auth?: string;
          createConnection?: ((options, oncreate) => Duplex);
          defaultPort?: string | number;
          family?: number;
          headers?: OutgoingHttpHeaders;
          hints?: number;
          host?: string;
          hostname?: string;
          insecureHTTPParser?: boolean;
          joinDuplicateHeaders?: boolean;
          localAddress?: string;
          localPort?: number;
          lookup?: LookupFunction;
          maxHeaderSize?: number;
          method?: string;
          path?: string;
          port?: string | number;
          protocol?: string;
          setHost?: boolean;
          signal?: AbortSignal;
          socketPath?: string;
          timeout?: number;
          uniqueHeaders?: (string | string[])[];
      }

      Properties

      _defaultAgent?: Agent
      agent?: boolean | Agent
      auth?: string
      createConnection?: ((options, oncreate) => Duplex)

      Type declaration

      defaultPort?: string | number
      family?: number
      hints?: number
      host?: string
      hostname?: string
      insecureHTTPParser?: boolean
      joinDuplicateHeaders?: boolean
      localAddress?: string
      localPort?: number
      maxHeaderSize?: number

      Default

      16384
      
      method?: string
      path?: string
      port?: string | number
      protocol?: string
      setHost?: boolean
      signal?: AbortSignal
      socketPath?: string
      timeout?: number
      uniqueHeaders?: (string | string[])[]