rippled
Loading...
Searching...
No Matches
include
xrpl
server
Server.h
1
#ifndef XRPL_SERVER_SERVER_H_INCLUDED
2
#define XRPL_SERVER_SERVER_H_INCLUDED
3
4
#include <xrpl/beast/utility/Journal.h>
5
#include <xrpl/beast/utility/PropertyStream.h>
6
#include <xrpl/server/Port.h>
7
#include <xrpl/server/detail/ServerImpl.h>
8
9
#include <boost/asio/io_context.hpp>
10
11
namespace
ripple
{
12
14
template
<
class
Handler>
15
std::unique_ptr<Server>
16
make_Server
(
17
Handler& handler,
18
boost::asio::io_context& io_context,
19
beast::Journal
journal)
20
{
21
return
std::make_unique<ServerImpl<Handler>
>(handler, io_context, journal);
22
}
23
24
}
// namespace ripple
25
26
#endif
beast::Journal
A generic endpoint for log messages.
Definition
Journal.h:41
std::is_same_v
T is_same_v
ripple
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:6
ripple::make_Server
std::unique_ptr< Server > make_Server(Handler &handler, boost::asio::io_context &io_context, beast::Journal journal)
Create the HTTP server using the specified handler.
Definition
Server.h:16
std::unique_ptr
Generated by
1.9.8