diff options
| author | Rutger Broekhoff | 2026-11-30 21:27:55 +0100 |
|---|---|---|
| committer | Rutger Broekhoff | 2026-11-30 21:27:55 +0100 |
| commit | 7bba7176194c4d1d9c7066f8eda7a94491d924e6 (patch) | |
| tree | a9a171e8608786e09d6342729ee13b8471c0c9c2 /server/src/http_client.cpp | |
| parent | 02475e05ccd1aa15c6a6163834f28bfebbef796f (diff) | |
| download | routemon-7bba7176194c4d1d9c7066f8eda7a94491d924e6.tar.gz routemon-7bba7176194c4d1d9c7066f8eda7a94491d924e6.zip | |
Cleanups and updates
Diffstat (limited to 'server/src/http_client.cpp')
| -rw-r--r-- | server/src/http_client.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/server/src/http_client.cpp b/server/src/http_client.cpp deleted file mode 100644 index 0f3d9e6..0000000 --- a/server/src/http_client.cpp +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | module; | ||
| 2 | |||
| 3 | #include <boost/asio/ssl.hpp> | ||
| 4 | #include <boost/beast/core.hpp> | ||
| 5 | #include <boost/beast/http.hpp> | ||
| 6 | |||
| 7 | module routemon:http.client$impl; | ||
| 8 | |||
| 9 | import :http.client; | ||
| 10 | |||
| 11 | namespace routemon::http { | ||
| 12 | |||
| 13 | client::client(net::io_context& ioc) : ioc_{ioc}, resolver_{ioc} | ||
| 14 | { | ||
| 15 | sslc_.set_default_verify_paths(); | ||
| 16 | sslc_.set_verify_mode( | ||
| 17 | net::ssl::verify_peer | net::ssl::verify_fail_if_no_peer_cert); | ||
| 18 | } | ||
| 19 | |||
| 20 | } // namespace routemon::http | ||