public class AgentOptions extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<Boolean> |
keepAlive
Keep sockets around in a pool to be used by other requests in the future.
|
Objs.Property<Number> |
keepAliveMsecs
When using HTTP KeepAlive, how often to send TCP KeepAlive packets over sockets being kept alive.
|
Objs.Property<Number> |
maxFreeSockets
Maximum number of sockets to leave open in a free state.
|
Objs.Property<Number> |
maxSockets
Maximum number of sockets to allow per host.
|
Modifier | Constructor and Description |
---|---|
protected |
AgentOptions(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static AgentOptions |
$as(Object obj) |
Boolean |
keepAlive() |
Number |
keepAliveMsecs() |
Number |
maxFreeSockets() |
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<Boolean> keepAlive
public Objs.Property<Number> keepAliveMsecs
public Objs.Property<Number> maxSockets
public Objs.Property<Number> maxFreeSockets
protected AgentOptions(Objs.Constructor<?> c, Object js)
Copyright © 2018. All rights reserved.