TARAXA
|
#include <http_processor.hpp>
Public Member Functions | |
GraphQlHttpProcessor (std::shared_ptr<::taraxa::final_chain::FinalChain > final_chain, std::shared_ptr<::taraxa::DagManager > dag_manager, std::shared_ptr<::taraxa::PbftManager > pbft_manager, std::shared_ptr<::taraxa::TransactionManager > transaction_manager, std::shared_ptr<::taraxa::DbStorage > db, std::shared_ptr<::taraxa::GasPricer > gas_pricer, std::weak_ptr<::taraxa::Network > network, uint64_t chain_id) | |
Response | process (const Request &request) override |
Private Member Functions | |
Response | createErrResponse (std::string &&="") |
Response | createErrResponse (graphql::response::Value &&error_value) |
Response | createOkResponse (std::string &&response_body) |
Private Attributes | |
std::shared_ptr< graphql::taraxa::Query > | query_ |
std::shared_ptr< graphql::taraxa::Mutation > | mutation_ |
std::shared_ptr< graphql::taraxa::Subscription > | subscription_ |
graphql::taraxa::Operations | operations_ |
Additional Inherited Members | |
Public Types inherited from taraxa::net::HttpProcessor | |
using | Request = boost::beast::http::request< boost::beast::http::string_body > |
using | Response = boost::beast::http::response< boost::beast::http::string_body > |
taraxa::net::GraphQlHttpProcessor::GraphQlHttpProcessor | ( | std::shared_ptr<::taraxa::final_chain::FinalChain > | final_chain, |
std::shared_ptr<::taraxa::DagManager > | dag_manager, | ||
std::shared_ptr<::taraxa::PbftManager > | pbft_manager, | ||
std::shared_ptr<::taraxa::TransactionManager > | transaction_manager, | ||
std::shared_ptr<::taraxa::DbStorage > | db, | ||
std::shared_ptr<::taraxa::GasPricer > | gas_pricer, | ||
std::weak_ptr<::taraxa::Network > | network, | ||
uint64_t | chain_id | ||
) |
|
private |
|
private |
|
private |
|
overridevirtual |
Implements taraxa::net::HttpProcessor.
|
private |
|
private |
|
private |
|
private |