Wire Sysio Wire Sysion 1.0.0
|
#include <http_api.hpp>
Public Member Functions | |
http_api_connection () | |
~http_api_connection () | |
virtual variant | send_call (api_id_type api_id, string method_name, variants args=variants()) override |
virtual variant | send_callback (uint64_t callback_id, variants args=variants()) override |
virtual void | send_notice (uint64_t callback_id, variants args=variants()) override |
void | on_request (const fc::http::request &req, const fc::http::server::response &resp) |
Public Member Functions inherited from fc::api_connection | |
api_connection () | |
virtual | ~api_connection () |
template<typename T > | |
api< T > | get_remote_api (api_id_type api_id=0) |
variant | receive_call (api_id_type api_id, const string &method_name, const variants &args=variants()) const |
variant | receive_callback (uint64_t callback_id, const variants &args=variants()) const |
void | receive_notice (uint64_t callback_id, const variants &args=variants()) const |
template<typename Interface > | |
api_id_type | register_api (const Interface &a) |
template<typename Signature > | |
uint64_t | register_callback (const std::function< Signature > &cb) |
std::vector< std::string > | get_method_names (api_id_type local_api_id=0) const |
Public Attributes | |
fc::rpc::state | _rpc_state |
Public Attributes inherited from fc::api_connection | |
fc::signal< void()> | closed |
Definition at line 11 of file http_api.hpp.
fc::rpc::http_api_connection::http_api_connection | ( | ) |
Definition at line 10 of file http_api.cpp.
fc::rpc::http_api_connection::~http_api_connection | ( | ) |
Definition at line 6 of file http_api.cpp.
void fc::rpc::http_api_connection::on_request | ( | const fc::http::request & | req, |
const fc::http::server::response & | resp ) |
Definition at line 83 of file http_api.cpp.
|
overridevirtual |
makes calls to the remote server
Implements fc::api_connection.
Definition at line 58 of file http_api.cpp.
|
overridevirtual |
Implements fc::api_connection.
Definition at line 67 of file http_api.cpp.
|
overridevirtual |
Implements fc::api_connection.
Definition at line 75 of file http_api.cpp.
fc::rpc::state fc::rpc::http_api_connection::_rpc_state |
Definition at line 32 of file http_api.hpp.