getName

fun getName(options: ClientRequestArgs = definedExternally): String(source)

Get a unique name for a set of request options, to determine whether a connection can be reused. For an HTTP agent, this returnshost:port:localAddress or host:port:localAddress:family. For an HTTPS agent, the name includes the CA, cert, ciphers, and other HTTPS/TLS-specific options that determine socket reusability.

Since

v0.11.4

Parameters

options

A set of options providing information for name generation