new Agent([options])
options<Object> Set of configurable options to set on the agent. Can have the same fields as forhttp.Agent(options), and-
maxCachedSessions<number> maximum number of TLS cached sessions. Use0to disable TLS session caching. Default:100. -
servername<string> the value of Server Name Indication extension to be sent to the server. Use empty string''to disable sending the extension. Default: host name of the target server, unless the target server is specified using an IP address, in which case the default is''(no extension).See
Session Resumptionfor information about TLS session reuse.
-