createHttpsAgent function

HttpsAgent createHttpsAgent([
  1. HttpsAgentOptions? options
])

Convenience method for creating instances of "https" module's Agent class.

This is equivalent of Node's new https.Agent([options]).

Implementation

HttpsAgent createHttpsAgent([HttpsAgentOptions? options]) {
  var args = (options == null) ? [] : [options];
  return callConstructor(https.Agent, args);
}