rippled
Loading...
Searching...
No Matches
include
xrpl
server
Server.h
1
#pragma once
2
3
#include <xrpl/beast/utility/Journal.h>
4
#include <xrpl/beast/utility/PropertyStream.h>
5
#include <xrpl/server/Port.h>
6
#include <xrpl/server/detail/ServerImpl.h>
7
8
#include <boost/asio/io_context.hpp>
9
10
namespace
xrpl
{
11
13
template
<
class
Handler>
14
std::unique_ptr<Server>
15
make_Server
(Handler& handler, boost::asio::io_context& io_context,
beast::Journal
journal)
16
{
17
return
std::make_unique<ServerImpl<Handler>
>(handler, io_context, journal);
18
}
19
20
}
// namespace xrpl
beast::Journal
A generic endpoint for log messages.
Definition
Journal.h:40
std::is_same_v
T is_same_v
xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:5
xrpl::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:15
std::unique_ptr
Generated by
1.9.8