HTTPS and WSS library. This is an experimental replacement for Boost::Beast.
Copy the contents of src
into your project then link to:
- Boost::asio
- OpenSSL::SSL
- OpenSSL::Crypto
Check out:
test/example.cpp
test/example_ssl.cpp
Build them using:
$ cmake . -B build -DCMAKE_BUILD_TYPE=Release
$ cmake --build build --parallel
Try em' using:
$ ./build/example
or:
$ ./build/example_ssl
Open a browser at http(s)://localhost:8000. Note, the examples showcase basic authentication. The user is "Tommy" and the password is "Aldridge".
- Documentation
- HTTP(s) and WS(s) clients
- Unit tests
-
Q: Why are you not writing the base library Sans-IO? It's the fashion!
A: Because i'm only going to use this with Asio. I don't mind having state-machine logic inside an Asio composed operation rather than something custom. I believe the only reason people are doing this Sans-IO stuff is for unit tests. They don't actually have to open a socket. But really people are only going to use those libs with Asio.