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>
|
static RpcSpecConstRef | spec (uint32_t apiVersion) |
| Returns the API specification for the 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
◆ UnsubscribeHandler()
Construct a new BaseUnsubscribeHandler object.
- Parameters
-
subscriptions | The subscription manager to use |
◆ process()
UnsubscribeHandler::Result rpc::UnsubscribeHandler::process |
( |
Input | input, |
|
|
Context const & | ctx ) const |
Process the Unsubscribe command.
- Parameters
-
input | The input data for the command |
ctx | The context of the request |
- Returns
- The result of the operation
◆ spec()
Returns the API specification for the command.
- Parameters
-
apiVersion | The api version to return the spec for |
- Returns
- The spec for the given apiVersion
◆ tag_invoke
Input tag_invoke |
( |
boost::json::value_to_tag< Input > | , |
|
|
boost::json::value const & | jv ) |
|
friend |
Convert a JSON object to an Input.
- Parameters
-
jv | The JSON object to convert |
- Returns
- The Input object
The documentation for this class was generated from the following files:
- /__w/clio/clio/src/rpc/handlers/Unsubscribe.hpp
- /__w/clio/clio/src/rpc/handlers/Unsubscribe.cpp