Upgrade ccapi to v6.12.0
This commit is contained in:
1 parent
8069cc893f
commit
90492733fd
109 files changed
+4172
-8930
No files matched your search
@@ -15,12 +15,14 @@ class HttpConnection CCAPI_FINAL {
|
||||
std::string toString() const {
|
||||
std::ostringstream oss;
|
||||
oss << streamPtr;
|
||||
std::string output = "HttpConnection [host = " + host + ", port = " + port + ", streamPtr = " + oss.str() + "]";
|
||||
std::string output = "HttpConnection [host = " + host + ", port = " + port + ", streamPtr = " + oss.str() +
|
||||
", lastReceiveDataTp = " + UtilTime::getISOTimestamp(lastReceiveDataTp) + "]";
|
||||
return output;
|
||||
}
|
||||
std::string host;
|
||||
std::string port;
|
||||
std::shared_ptr<beast::ssl_stream<beast::tcp_stream> > streamPtr;
|
||||
TimePoint lastReceiveDataTp{std::chrono::seconds{0}};
|
||||
};
|
||||
} /* namespace ccapi */
|
||||
#endif // INCLUDE_CCAPI_CPP_CCAPI_HTTP_CONNECTION_H_
|
||||
Reference in new issue
Block a user