Wire Sysio Wire Sysion 1.0.0
|
#include <sysio/http_plugin/http_plugin.hpp>
#include <sysio/http_plugin/local_endpoint.hpp>
#include <sysio/chain/exceptions.hpp>
#include <sysio/chain/thread_utils.hpp>
#include <fc/network/ip.hpp>
#include <fc/log/logger_config.hpp>
#include <fc/reflect/variant.hpp>
#include <fc/io/json.hpp>
#include <fc/io/raw.hpp>
#include <fc/crypto/openssl.hpp>
#include <boost/asio.hpp>
#include <boost/optional.hpp>
#include <websocketpp/config/asio_client.hpp>
#include <websocketpp/config/asio.hpp>
#include <websocketpp/server.hpp>
#include <websocketpp/client.hpp>
#include <websocketpp/logger/stub.hpp>
#include <thread>
#include <memory>
#include <regex>
Go to the source code of this file.
Namespaces | |
namespace | sysio |
namespace | sysio::detail |
Typedefs | |
using | sysio::detail::abstract_conn_ptr = std::shared_ptr<abstract_conn> |
template<typename T > | |
using | sysio::detail::connection_ptr = typename websocketpp::server<T>::connection_ptr |
using | sysio::detail::internal_url_handler = std::function<void(abstract_conn_ptr, string, string, url_response_callback)> |
using | sysio::websocket_server_type = websocketpp::server<detail::asio_with_stub_log<websocketpp::transport::asio::basic_socket::endpoint>> |
using | sysio::websocket_local_server_type = websocketpp::server<detail::asio_local_with_stub_log> |
using | sysio::websocket_server_tls_type = websocketpp::server<detail::asio_with_stub_log<websocketpp::transport::asio::tls_socket::endpoint>> |
using | sysio::ssl_context_ptr = websocketpp::lib::shared_ptr<websocketpp::lib::asio::ssl::context> |
using | sysio::http_plugin_impl_ptr = std::shared_ptr<class http_plugin_impl> |
Enumerations | |
enum | sysio::https_ecdh_curve_t { sysio::SECP384R1 , sysio::PRIME256V1 } |
Functions | |
const fc::string | logger_name ("http_plugin") |
template<> | |
bool | sysio::http_plugin_impl::allow_host< detail::asio_local_with_stub_log > (const detail::asio_local_with_stub_log::request_type &req, websocketpp::server< detail::asio_local_with_stub_log >::connection_ptr con) |
std::istream & | sysio::operator>> (std::istream &in, https_ecdh_curve_t &curve) |
std::ostream & | sysio::operator<< (std::ostream &osm, https_ecdh_curve_t curve) |
Variables | |
fc::logger | logger |
const fc::string logger_name | ( | "http_plugin" | ) |
fc::logger logger |
Definition at line 28 of file http_plugin.cpp.