/
Zertmark
/
site_for_practice
Обзор
Документация
Войти
/
Zertmark
/
site_for_practice
Код
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
site_for_practice
/
node_modules
/
http2-wrapper
/
..
source
Github Pages setup
год назад
LICENSE
Github Pages setup
год назад
README.md
Github Pages setup
год назад
index.d.ts
Github Pages setup
год назад
package.json
Github Pages setup
год назад
http2-wrapper
Installation
Usage
API
http2.auto(url, options, callback)
http2.auto.protocolCache
http2.auto.createResolveProtocol(cache, queue, connect)
cache
queue
connect
http2.auto.resolveProtocol(options)
http2.request(url, options, callback)
options.h2session
http2.get(url, options, callback)
new http2.ClientRequest(url, options, callback)
new http2.IncomingMessage(socket)
new http2.Agent(options)
options
timeout
maxSessions
maxEmptySessions
maxCachedTlsSessions
agent.protocol
agent.settings
agent.normalizeOptions(options)
agent.getSession(origin, options)
origin
options
agent.getSession(origin, options, listener)
listener
agent.request(origin, options, headers, streamOptions)
agent.createConnection(origin, options)
agent.closeEmptySessions(count)
count
agent.destroy(reason)
agent.emptySessionCount
agent.pendingSessionCount
agent.sessionCount
Event: 'session'
Proxy support
Mirroring another server
WebSockets over HTTP/2
Push streams
Related
License
README.md