Clio  develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
SslContext.hpp
1#pragma once
2
3#include "util/requests/Types.hpp"
4
5#include <boost/asio/ssl/context.hpp>
6#include <boost/beast/core/error.hpp>
7
8#include <expected>
9#include <optional>
10#include <string>
11
12namespace util::requests::impl {
13
14std::expected<boost::asio::ssl::context, RequestError>
15makeClientSslContext();
16
17std::optional<std::string>
18sslErrorToString(boost::beast::error_code const& error);
19
20} // namespace util::requests::impl