popsicle-proxy-agent

WebJar for popsicle-proxy-agent

License

License

GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

popsicle-proxy-agent
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

popsicle-proxy-agent
WebJar for popsicle-proxy-agent
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/blakeembrey/popsicle-proxy-agent

Download popsicle-proxy-agent

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.npm : http-proxy-agent jar [1.0.0,2)
org.webjars.npm : https-proxy-agent jar [1.0.0,2)

Project Modules

There are no modules declared in this project.

Popsicle Proxy Agent

NPM version NPM downloads Build status Test coverage Greenkeeper badge

Generic proxy agent (for Popsicle and node.js).

Installation

npm install popsicle-proxy-agent --save

Usage

var popsicle = require('popsicle')
var createProxy = require('popsicle-proxy-agent')

var proxy = createProxy({
  proxy: '...'
})

popsicle.get({
  url: 'http://example.com',
  transport: popsicle.createTransport({
    agent: proxy('http://example.com')
  })
})

Options

  • proxy The default HTTP(s) proxy to use
  • httpProxy The proxy for HTTP requests (default: process.env.HTTP_PROXY)
  • httpsProxy The proxy for HTTPS requests (default: process.env.HTTPS_PROXY)
  • noProxy A string of space-separated hosts to not proxy (default: process.env.NO_PROXY)

License

Apache 2.0

Versions

Version
2.0.0
1.0.0