◆ contains()
bool rpc::impl::ProductionHandlerProvider::contains |
( |
std::string const & | command | ) |
const |
|
overridevirtual |
Check if the provider contains a handler for a given method.
- Parameters
-
command | The method to check for |
- Returns
- true if the provider contains a handler for the method, false otherwise
Implements rpc::HandlerProvider.
◆ getHandler()
std::optional< AnyHandler > rpc::impl::ProductionHandlerProvider::getHandler |
( |
std::string const & | command | ) |
const |
|
overridevirtual |
Get the handler for a given method.
- Parameters
-
command | The method to get the handler for |
- Returns
- The handler for the method, or std::nullopt if the method is not found
Implements rpc::HandlerProvider.
◆ isClioOnly()
bool rpc::impl::ProductionHandlerProvider::isClioOnly |
( |
std::string const & | command | ) |
const |
|
overridevirtual |
Check if a given method is Clio-only.
- Parameters
-
command | The method to check |
- Returns
- true if the method is Clio-only, false otherwise
Implements rpc::HandlerProvider.
The documentation for this class was generated from the following files:
- /__w/clio/clio/src/rpc/common/impl/HandlerProvider.hpp
- /__w/clio/clio/src/rpc/common/impl/HandlerProvider.cpp