Clio
develop
The XRP Ledger API server.
|
A function object that handles the cache state check endpoint. More...
#include <WebHandlers.hpp>
Public Member Functions | |
CacheStateHandler (data::LedgerCacheInterface const &cache) | |
Construct a new CacheStateHandler object. | |
web::ng::Response | operator() (web::ng::Request const &request, web::ng::ConnectionMetadata &, web::SubscriptionContextPtr, boost::asio::yield_context) |
The call of the function object. |
A function object that handles the cache state check endpoint.
|
inline |
Construct a new CacheStateHandler object.
cache | The ledger cache to use. |
web::ng::Response app::CacheStateHandler::operator() | ( | web::ng::Request const & | request, |
web::ng::ConnectionMetadata & | , | ||
web::SubscriptionContextPtr | , | ||
boost::asio::yield_context | ) |
The call of the function object.
request | The request to handle. |