Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
rpc::VersionHandler Class Reference

The version command returns the min,max and current api Version we are using. More...

#include <VersionHandler.hpp>

Classes

struct  Output
 A struct to hold the output data of the command. More...
 

Public Types

using Result = HandlerReturnType<Output>
 

Public Member Functions

 VersionHandler (util::config::ClioConfigDefinition const &config)
 Construct a new Version Handler object.
 
Result process (Context const &ctx) const
 Process the version command.
 

Friends

void tag_invoke (boost::json::value_from_tag, boost::json::value &jv, Output const &output)
 

Detailed Description

The version command returns the min,max and current api Version we are using.

Constructor & Destructor Documentation

◆ VersionHandler()

rpc::VersionHandler::VersionHandler ( util::config::ClioConfigDefinition const & config)
inlineexplicit

Construct a new Version Handler object.

Parameters
configThe configuration to use

Member Function Documentation

◆ process()

Result rpc::VersionHandler::process ( Context const & ctx) const
inline

Process the version command.

Parameters
ctxThe context of the request
Returns
The result of the command

The documentation for this class was generated from the following file: