infinity-agent

WebJar for infinity-agent

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

infinity-agent
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

infinity-agent
WebJar for infinity-agent
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/floatdrop/infinity-agent

Download infinity-agent

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/infinity-agent/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>infinity-agent</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/infinity-agent/
implementation 'org.webjars.npm:infinity-agent:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/infinity-agent/
implementation ("org.webjars.npm:infinity-agent:1.0.0")
'org.webjars.npm:infinity-agent:jar:1.0.0'
<dependency org="org.webjars.npm" name="infinity-agent" rev="1.0.0">
  <artifact name="infinity-agent" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='infinity-agent', version='1.0.0')
)
libraryDependencies += "org.webjars.npm" % "infinity-agent" % "1.0.0"
[org.webjars.npm/infinity-agent "1.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

infinity-agent Build Status

Node-core HTTP Agent for userland.

Usage

var infinityAgent = require('infinity-agent');

var http = require('http');
var https = require('https');

http.get('http://google.com', {agent: infinityAgent.http.globalAgent});
https.get('http://google.com', {agent: infinityAgent.https.globalAgent});

This package is a mirror of the Agent class in Node-core.

There is one minor change in addRequest method: basically we disable keepAlive if agent is not configured for it, and maxSockets is set to Infinity.

License

MIT © Vsevolod Strukchinsky

Versions

Version
1.0.0