20#ifndef RIPPLE_SERVER_SERVER_H_INCLUDED
21#define RIPPLE_SERVER_SERVER_H_INCLUDED
23#include <xrpl/beast/utility/Journal.h>
24#include <xrpl/beast/utility/PropertyStream.h>
25#include <xrpl/server/Port.h>
26#include <xrpl/server/detail/ServerImpl.h>
28#include <boost/asio/io_service.hpp>
33template <
class Handler>
37 boost::asio::io_service& io_service,
40 return std::make_unique<ServerImpl<Handler>>(handler, io_service, journal);
A generic endpoint for log messages.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::unique_ptr< Server > make_Server(Handler &handler, boost::asio::io_service &io_service, beast::Journal journal)
Create the HTTP server using the specified handler.