BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <connection.hpp>
Classes | |
class | impl |
Public Member Functions | |
connection () | |
~connection () | |
void | connect_to (const fc::ip::endpoint &ep) |
http::reply | request (const std::string &method, const std::string &url, const std::string &body=std::string(), const headers &=headers()) |
fc::tcp_socket & | get_socket () const |
http::request | read_request () const |
Connections have reference semantics, all copies refer to the same underlying socket.
Definition at line 59 of file connection.hpp.
fc::http::connection::connection | ( | ) |
Definition at line 80 of file http_connection.cpp.
fc::http::connection::~connection | ( | ) |
Definition at line 82 of file http_connection.cpp.
void fc::http::connection::connect_to | ( | const fc::ip::endpoint & | ep | ) |
Definition at line 86 of file http_connection.cpp.
fc::tcp_socket & fc::http::connection::get_socket | ( | ) | const |
Definition at line 131 of file http_connection.cpp.
http::request fc::http::connection::read_request | ( | ) | const |
Definition at line 135 of file http_connection.cpp.
http::reply fc::http::connection::request | ( | const std::string & | method, |
const std::string & | url, | ||
const std::string & | body = std::string() , |
||
const headers & | he = headers() |
||
) |
Definition at line 91 of file http_connection.cpp.