|
Clio
develop
The XRP Ledger API server.
|
Handles the unsubscribe command which is used to disconnect a subscriber from a feed. The unsubscribe command tells the server to stop sending messages for a particular subscription or set of subscriptions. More...
#include <Unsubscribe.hpp>


Public Types | |
| using | OrderBook = rpc::spec::handlers::unsubscribe::OrderBook |
| A struct to hold one order book. | |
| using | StreamType = rpc::spec::handlers::unsubscribe::StreamType |
| A subscribable stream type. | |
| using | Output = VoidOutput |
| using | Result = HandlerReturnType<Output> |
Public Member Functions | |
| UnsubscribeHandler (std::shared_ptr< feed::SubscriptionManagerInterface > const &subscriptions) | |
| Construct a new BaseUnsubscribeHandler object. | |
| Result | process (Input const &input, Context const &ctx) const |
| Process the Unsubscribe command. | |
Handles the unsubscribe command which is used to disconnect a subscriber from a feed. The unsubscribe command tells the server to stop sending messages for a particular subscription or set of subscriptions.
For more details see: https://xrpl.org/unsubscribe.html
| rpc::UnsubscribeHandler::UnsubscribeHandler | ( | std::shared_ptr< feed::SubscriptionManagerInterface > const & | subscriptions | ) |
Construct a new BaseUnsubscribeHandler object.
| subscriptions | The subscription manager to use |
|
nodiscard |
Process the Unsubscribe command.
| input | The input data for the command |
| ctx | The context of the request |