|
Clio
develop
The XRP Ledger API server.
|
A function object that handles the metrics endpoint. More...
#include <WebHandlers.hpp>
Public Member Functions | |
| MetricsHandler (std::shared_ptr< web::AdminVerificationStrategy > adminVerifier, rpc::WorkQueue &workQueue) | |
| Construct a new MetricsHandler object. | |
| web::ng::Response | operator() (web::ng::Request const &request, web::ng::ConnectionMetadata &connectionMetadata, web::SubscriptionContextPtr, boost::asio::yield_context yield) |
| The call of the function object. | |
A function object that handles the metrics endpoint.
| app::MetricsHandler::MetricsHandler | ( | std::shared_ptr< web::AdminVerificationStrategy > | adminVerifier, |
| rpc::WorkQueue & | workQueue ) |
Construct a new MetricsHandler object.
| adminVerifier | The AdminVerificationStrategy to use for verifying the connection for admin access. |
| workQueue | The WorkQueue to use for handling the request. |
| web::ng::Response app::MetricsHandler::operator() | ( | web::ng::Request const & | request, |
| web::ng::ConnectionMetadata & | connectionMetadata, | ||
| web::SubscriptionContextPtr | , | ||
| boost::asio::yield_context | yield ) |
The call of the function object.
| request | The request to handle. |
| connectionMetadata | The connection metadata. |
| yield | The yield context. |