Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

maxFreeSockets: number
maxSockets: number
maxTotalSockets: number
sockets: {}

Type declaration

requests: {}

Type declaration

Constructors

Methods

  • destroy(): void
  • Destroy any sockets that are currently in use by the agent. It is usually not necessary to do this. However, if you are using an agent with KeepAlive enabled, then it is best to explicitly shut down the agent when you know that it will no longer be used. Otherwise, sockets may hang open for quite a long time before the server terminates them.

    Returns void

Generated using TypeDoc