Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Kagome
Consensus
core
Development guide
Guide for `outcome::result<T>`
Rules
Terms
Tooling
Overview
Your first Kagome chain
Runing Kagome in docker container
Start private Kagome network
Namespaces
Classes
Files
File List
core
api
jrpc
custom_json_writer.hpp
jrpc_handle_batch.cpp
jrpc_handle_batch.hpp
jrpc_method.hpp
jrpc_processor.hpp
jrpc_server.hpp
jrpc_server_impl.cpp
jrpc_server_impl.hpp
value_converter.hpp
service
transport
application
assets
authority_discovery
authorship
blockchain
clock
common
consensus
containers
crypto
filesystem
host_api
injector
log
macro
metrics
network
offchain
outcome
parachain
primitives
runtime
scale
storage
subscription
telemetry
transaction_pool
utils
docs
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
jrpc_handle_batch.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_API_JRPC_HANDLE_BATCH_HPP
7
#define KAGOME_API_JRPC_HANDLE_BATCH_HPP
8
9
#include <memory>
10
#include <string>
11
12
namespace
jsonrpc
{
13
class
FormattedData;
14
class
Server;
15
}
// namespace jsonrpc
16
17
namespace
kagome::api
{
21
class
JrpcHandleBatch
{
22
public
:
26
JrpcHandleBatch
(jsonrpc::Server &handler, std::string_view request);
27
31
std::string_view response()
const
;
32
33
private
:
37
std::shared_ptr<jsonrpc::FormattedData>
formatted_
;
41
std::string
batch_
;
42
};
43
}
// namespace kagome::api
44
45
#endif // KAGOME_API_JRPC_HANDLE_BATCH_HPP
kagome::api::JrpcHandleBatch
Definition:
jrpc_handle_batch.hpp:21
kagome::api::JrpcHandleBatch::batch_
std::string batch_
Definition:
jrpc_handle_batch.hpp:41
kagome::api::JrpcHandleBatch::formatted_
std::shared_ptr< jsonrpc::FormattedData > formatted_
Definition:
jrpc_handle_batch.hpp:37
kagome::api
Definition:
custom_json_writer.hpp:23
jsonrpc
Definition:
jrpc_handle_batch.hpp:12
core
api
jrpc
jrpc_handle_batch.hpp
Generated by
1.8.11