CCF
Loading...
Searching...
No Matches
request.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
9#include "ccf/rpc_context.h"
10
11namespace ccf::js::extensions
12{
16 {
17 public:
19
21
22 void install(ccf::js::core::Context& ctx) override;
23
26 std::string_view full_request_path,
29 };
30}
Definition base_endpoint_registry.h:121
Describes the currently executing RPC.
Definition rpc_context.h:58
Definition context.h:46
Definition extension_interface.h:16
ccf::js::core::JSWrappedValue create_request_obj(ccf::js::core::Context &ctx, std::string_view full_request_path, ccf::endpoints::EndpointContext &endpoint_ctx, ccf::BaseEndpointRegistry *registry)
Definition request.cpp:290
ccf::RpcContext * rpc_ctx
Definition request.h:18
RequestExtension(ccf::RpcContext *rc)
Definition request.h:20
void install(ccf::js::core::Context &ctx) override
Definition request.cpp:285
Definition consensus.h:9
Definition endpoint_context.h:55
Definition wrapped_value.h:13