Good morning!
To build this project with your host tools you can simply do:
$ make
This will produce a few example binaries as well as ready to static link libs
- thttp-example1
- thttp-example1-tls
- trest-example1
- trest-example1-tls
These test binaries can have their runtime behaviour configured/adjusted using the following environment variables:
- CAFILE: the root certificate chain you want the tls client to use for validating the server
- you can produce this inside pantahub-base/pki directory. Read the README.md in that project for more details.
- PANTAHUB_HOST: hostname your clients should call to; default is localhost
- PANTAHUB_PORT: port your clients should call to; default is 12365 for plain and 12366 for TLS
To Build for using without valid cert you have to pass
make ... other_DEFINES=-DTHTTP_DEVELOPMENT