th2c:Tornado HTTP2客户端

时间:2021-03-01 17:01:16
【文件属性】:
文件名称:th2c:Tornado HTTP2客户端
文件大小:24KB
文件格式:ZIP
更新时间:2021-03-01 17:01:16
python async http2 tornado h2 异步HTTP / 2客户端 基于强大的库的应用程序的简单异步HTTP / 2客户端。 适用于Python 2(> = 2.7.9)。 该软件包处于开发的早期阶段,因此请期待API中的错误或更改。 如果发现任何错误或想提出改进建议,请提出问题或提出要求。 例子 在协程中的用法可能是: from th2c import AsyncHTTP2Client from tornado . httpclient import HTTPRequest client = AsyncHTTP2Client ( host = 'nghttp2.org' , port = 443 , secure = True , ) request = HTTPRequest ( url = 'https://nghttp2.org/httpbin/get' , method = 'GET' ,
【文件预览】:
th2c-master
----README.rst(2KB)
----vm()
--------Vagrantfile(289B)
--------provision.sh(306B)
----requirements.txt(49B)
----LICENSE(1KB)
----test_server()
--------main.go(961B)
--------certs()
----setup.py(1KB)
----th2c()
--------exceptions.py(475B)
--------flowcontrol.py(814B)
--------config.py(672B)
--------response.py(129B)
--------__init__.py(173B)
--------__main__.py(4KB)
--------connection.py(15KB)
--------client.py(10KB)
--------stream.py(9KB)
----tests()
--------test_client.py(8KB)
--------test_stream.py(5KB)
--------__init__.py(0B)
--------test_connection.py(3KB)
----.gitignore(15B)
----MANIFEST.IN(26B)

网友评论