http-https

WebJar for http-https

Лицензия

Лицензия

ISC
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

http-https
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

http-https
WebJar for http-https
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/isaacs/http-https

Скачать http-https

Как подключить последнюю версию

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

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

http-https

A wrapper that chooses http or https for requests

USAGE

var hh = require('http-https')

var req = hh.request('http://example.com/bar')
var secureReq = hh.request('https://secure.example.com/foo')

// or with a parsed object...
var opt = url.parse(someUrlMaybeHttpMaybeHttps)
opt.headers = {
  'user-agent': 'flergy mc flerg'
}
opt.method = 'HEAD'
var req = hh.request(opt, function (res) {
  console.log('got response!', res.statusCode, res.headers)
})
req.end()

Версии библиотеки

Версия
1.0.0