BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet 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

◆ connection()

fc::http::connection::connection ( )

Definition at line 80 of file http_connection.cpp.

◆ ~connection()

fc::http::connection::~connection ( )

Definition at line 82 of file http_connection.cpp.

Member Function Documentation

◆ connect_to()

void fc::http::connection::connect_to ( const fc::ip::endpoint ep)

Definition at line 86 of file http_connection.cpp.

◆ get_socket()

fc::tcp_socket & fc::http::connection::get_socket ( ) const

Definition at line 131 of file http_connection.cpp.

◆ read_request()

http::request fc::http::connection::read_request ( ) const

Definition at line 135 of file http_connection.cpp.

◆ request()

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: