public class Agent extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<Number> |
maxSockets |
Objs.Property<Object> |
requests |
Objs.Property<Object> |
sockets |
Modifier | Constructor and Description |
---|---|
|
Agent() |
|
Agent(AgentOptions opts) |
protected |
Agent(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static Agent |
$as(Object obj) |
void |
destroy()
Destroy any sockets that are currently in use by the agent.
|
Number |
maxSockets() |
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
public Objs.Property<Number> maxSockets
public Objs.Property<Object> sockets
public Objs.Property<Object> requests
protected Agent(Objs.Constructor<?> c, Object js)
public Agent(AgentOptions opts)
public Agent()
public Number maxSockets()
public void destroy()
Copyright © 2018. All rights reserved.