Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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