GoodCam Device Proxy
This library simplifies creating HTTP proxies that can be used to communicate with GoodCam devices in various networks. GoodCam devices contain a built-in client that can be configured to connect automatically to a given proxy. Once connected, the devices will wait for incoming HTTP requests. The proxy simply forwards incoming HTTP requests to the connected devices.
Dependencies
The library requires OpenSSL (version 1.0.1 or newer) or LibreSSL (version 2.5 or newer). Ubuntu/Debian users can install OpenSSL development files using:
Fedora users can install them using:
Usage example
See the examples
directory in the root of this repository for a ready-to-use
example.
use ;
;
let mut builder = new;
builder
.hostname
.http_bind_address;
builder
.build
.await
.unwrap
.await
.unwrap;
Bindings to other languages
The library provides a C API which can be used also in other programming
languages. See the include
folder in the root of the repository for more
details. Currently we also provide wrapper libraries for: