caw

WebJar for caw

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

caw
Last Version

Last Version

2.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

caw
WebJar for caw
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/kevva/caw

Download caw

How to add to project

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

Dependencies

compile (4)

Group / Artifact Type Version
org.webjars.npm : get-proxy jar [2.0.0,3)
org.webjars.npm : isurl jar [1.0.0-alpha5,2)
org.webjars.npm : tunnel-agent jar [0.6.0,0.7)
org.webjars.npm : url-to-options jar [1.0.1,2)

Project Modules

There are no modules declared in this project.

caw Build Status

Construct HTTP/HTTPS agents for tunneling proxies

Install

$ npm install caw

Usage

const caw = require('caw');
const got = require('got');

got('todomvc.com', {
	agent: caw()
}, () => {});

API

caw([proxy], [options])

proxy

Type: string

Proxy URL. If not set, it'll try getting it using get-proxy.

options

Type: Object

Besides the options below, you can pass in options allowed in tunnel-agent.

protocol

Type: string
Default: http

Endpoint protocol.

License

MIT © Kevin Mårtensson

Versions

Version
2.0.1
1.1.0
1.0.1