Kagome
Polkadot Runtime Engine in C++17
chain_jrpc_processor.hpp
Go to the documentation of this file.
1 
6 #ifndef KAGOME_CHAIN_JRPC_PROCESSOR_HPP
7 #define KAGOME_CHAIN_JRPC_PROCESSOR_HPP
8 
12 
13 namespace kagome::api::chain {
18  public:
19  ChainJrpcProcessor(std::shared_ptr<JRpcServer> server,
20  std::shared_ptr<ChainApi> api);
21  void registerHandlers() override;
22 
23  private:
24  std::shared_ptr<ChainApi> api_;
25  std::shared_ptr<JRpcServer> server_;
26  };
27 } // namespace kagome::api::chain
28 
29 #endif // KAGOME_CHAIN_JRPC_PROCESSOR_HPP
void registerHandlers() override
registers callbacks for jrpc request
extrinsic submission service implementation
ChainJrpcProcessor(std::shared_ptr< JRpcServer > server, std::shared_ptr< ChainApi > api)