◆ TcpSocket()
TcpSocket::TcpSocket |
( |
const string & | url_str, |
|
|
const string & | readUntil = "\r\n\r\n" ) |
|
inline |
◆ ~TcpSocket()
virtual TcpSocket::~TcpSocket |
( |
| ) |
|
|
virtualdefault |
◆ connect()
void TcpSocket::connect |
( |
| ) |
|
◆ connected()
virtual void TcpSocket::connected |
( |
| ) |
|
|
inlinevirtual |
◆ connectHandler()
void TcpSocket::connectHandler |
( |
const boost::system::error_code & | err, |
|
|
tcp::resolver::iterator | endpoint_iterator ) |
◆ connectionError()
void TcpSocket::connectionError |
( |
const boost::system::error_code & | err, |
|
|
string | operation ) |
◆ dataChunkDownloaded()
void TcpSocket::dataChunkDownloaded |
( |
vector< char > & | dataChunk | ) |
|
◆ delayedReconnect()
void TcpSocket::delayedReconnect |
( |
| ) |
|
◆ disconnect()
void TcpSocket::disconnect |
( |
| ) |
|
◆ getData()
void TcpSocket::getData |
( |
| ) |
|
|
overridevirtual |
◆ logChunkError()
void TcpSocket::logChunkError |
( |
| ) |
|
◆ messageChunkLog()
virtual void TcpSocket::messageChunkLog |
( |
string | message | ) |
|
|
inlinevirtual |
◆ networkLog()
virtual void TcpSocket::networkLog |
( |
string | message | ) |
|
|
inlinevirtual |
◆ readContentDownloaded()
virtual void TcpSocket::readContentDownloaded |
( |
vector< char > | content | ) |
|
|
inlinevirtual |
◆ requestResponseHandler()
virtual void TcpSocket::requestResponseHandler |
( |
const boost::system::error_code & | err | ) |
|
|
inlinevirtual |
◆ runService()
static void TcpSocket::runService |
( |
| ) |
|
|
inlinestatic |
◆ setUrl()
void TcpSocket::setUrl |
( |
const string & | url_str | ) |
|
|
inline |
◆ startClients()
static void TcpSocket::startClients |
( |
| ) |
|
|
inlinestatic |
◆ startRead()
void TcpSocket::startRead |
( |
bool | chunked | ) |
|
◆ timeoutHandler()
void TcpSocket::timeoutHandler |
( |
const boost::system::error_code & | err | ) |
|
◆ _resolver
std::shared_ptr<tcp::resolver> TcpSocket::_resolver |
|
protected |
◆ _socket
std::shared_ptr<tcp::socket> TcpSocket::_socket |
|
protected |
◆ _sslsocket
◆ content_length
unsigned int TcpSocket::content_length = 0 |
◆ disconnectionCount
int TcpSocket::disconnectionCount = 0 |
◆ downloadBuf
boost::asio::streambuf TcpSocket::downloadBuf |
|
protected |
◆ ioService
B_asio::io_service TcpSocket::ioService |
|
static |
◆ isConnected
bool TcpSocket::isConnected = false |
◆ logHttpSentReceived
bool TcpSocket::logHttpSentReceived = false |
◆ numberErroredChunks
int TcpSocket::numberErroredChunks = 0 |
◆ readUntilString
string TcpSocket::readUntilString |
|
protected |
◆ receivedTcpData
vector<char> TcpSocket::receivedTcpData |
|
protected |
◆ reconnectDelay
double TcpSocket::reconnectDelay = 1 |
◆ request
boost::asio::streambuf TcpSocket::request |
|
protected |
◆ requestString
string TcpSocket::requestString |
|
protected |
◆ responseString
string TcpSocket::responseString |
|
protected |
◆ socket_ptr
tcp::socket* TcpSocket::socket_ptr |
|
protected |
◆ sslContext
B_asio::ssl::context TcpSocket::sslContext |
◆ timer
boost::asio::deadline_timer TcpSocket::timer |
|
protected |
◆ url
The documentation for this struct was generated from the following files: