#include "rpc/common/AnyHandler.hpp"
#include <memory>
#include <span>
#include <string_view>
Go to the source code of this file.
|
| namespace | data |
| | This namespace implements the data access layer and related components.
|
| namespace | feed |
| | This namespace implements everything related to subscriptions.
|
| namespace | util |
| | This namespace contains various utilities.
|
| namespace | rpc |
| | This namespace contains all the RPC logic and handlers.
|
◆ HandlerFactory
Constructs one type-erased handler from the available dependencies.
A plain function pointer rather than std::function so that the registry stays a literal type and is constant-initialised.
◆ handlerRegistry()
| std::span< HandlerEntry const > rpc::impl::handlerRegistry |
( |
| ) |
|
|
nodiscardnoexcept |
The full set of registered RPC handlers.
Static data: reading the registry constructs no handler and requires no runtime dependencies.
- Returns
- A span over the registry, valid for the lifetime of the program