
This is a simple wrapper for interacting with h2cs drivers (HTTP2 ClearText)
🔧 Installation
Run the following to install:
pip install Dock2
You need to download the h2cs driver into your working directory in order
for this to function properly
Supported Drivers
Usage
import Dock2
# Upgrade function
result = Dock2.upgrade('www.example.com', 'driver.py')
print(result)
# Do anything else, pass arguments h2cs returns byte string
result = Dock2.cmd('-x https://edgeserver -i dirs.txt http://localhost/', 'driver')
print(result)
More information regarding utility of the driver can be found here (H2CS Author)
Developing Dock2
To install Dock2, along with all the tools you need to develop and run tests,
run the following in your virtualenv:
$ pip install -e .[dev]