CCF
Loading...
Searching...
No Matches
common_endpoint_registry.h
Go to the documentation of this file.
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the Apache 2.0 License.
3#pragma once
4
6
7namespace ccf
8{
9 /*
10 * Extends the BaseEndpointRegistry by installing common endpoints we expect
11 * to be available on most services. Override init_handlers or inherit from
12 * BaseEndpointRegistry directly if you wish to wrap some of this
13 * functionality in different Endpoints.
14 */
16 {
17 public:
19 const std::string& method_prefix_, ccf::AbstractNodeContext& context_);
20
21 void init_handlers() override;
22
23 protected:
25 };
26}
Definition base_endpoint_registry.h:121
Definition common_endpoint_registry.h:16
void init_handlers() override
Definition common_endpoint_registry.cpp:69
virtual void api_endpoint(ccf::endpoints::ReadOnlyEndpointContext &ctx)
Definition common_endpoint_registry.cpp:298
Definition app_interface.h:14
Definition node_context.h:12
Definition endpoint_context.h:70