|
xrpld
|
Handles the account_channels RPC method. More...
#include <AccountChannels.h>


Classes | |
| struct | Output |
| The data an account_channels request produces, written out by writeResult(). More... | |
Public Member Functions | |
| AccountChannelsHandler (JsonContext &context) | |
| Construct a handler for a single request. | |
| std::expected< Output, ::rpc::Status > | process (Input const &input) const |
| Process the request. | |
| void | writeResult (json::Value &value, Output const &output) const |
| Write the output of process() into the response. | |
Private Attributes | |
| std::reference_wrapper< JsonContext > | context_ |
Handles the account_channels RPC method.
The request is parsed by ::rpc::spec::handlers::account_channels.
Definition at line 29 of file AccountChannels.h.
|
explicit |
Construct a handler for a single request.
| context | The context of the request being handled. |
Definition at line 72 of file AccountChannels.cpp.
|
nodiscard |
Process the request.
| input | The request, parsed and validated by the spec. |
Definition at line 77 of file AccountChannels.cpp.
| void xrpl::rpc::AccountChannelsHandler::writeResult | ( | json::Value & | value, |
| Output const & | output ) const |
Write the output of process() into the response.
| value | The response to write into. |
| output | The output process() returned. |
Definition at line 174 of file AccountChannels.cpp.
|
private |
Definition at line 71 of file AccountChannels.h.