BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Classes | Public Member Functions | List of all members
fc::http::connection Class Reference

#include <connection.hpp>


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_socketget_socket () const
http::request read_request () const

Detailed Description

Connections have reference semantics, all copies refer to the same underlying socket.

Definition at line 59 of file connection.hpp.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

The documentation for this class was generated from the following files: