createHttpAgent function
Convenience method for creating instances of "http" module's Agent class.
This is equivalent of Node's new http.Agent([options])
.
Implementation
HttpAgent createHttpAgent([HttpAgentOptions? options]) {
var args = (options == null) ? [] : [options];
return callConstructor(http.Agent, args);
}