mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-29 14:22:25 -06:00
Web: virtual destructor for HttpClient (because of HttpsClient inheritance)
git-svn-id: svn://ultimatepp.org/upp/trunk@4359 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
25f1c5cd69
commit
abc06ee3da
2 changed files with 5 additions and 0 deletions
|
|
@ -40,6 +40,10 @@ HttpClient::HttpClient(const char *url)
|
|||
URL(url);
|
||||
}
|
||||
|
||||
HttpClient::~HttpClient()
|
||||
{
|
||||
}
|
||||
|
||||
HttpClient& HttpClient::URL(const char *u)
|
||||
{
|
||||
const char *t = u;
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ class HttpClient
|
|||
public:
|
||||
HttpClient();
|
||||
HttpClient(const char *url);
|
||||
virtual ~HttpClient();
|
||||
|
||||
HttpClient& TimeoutMsecs(int t) { timeout_msecs = t; return *this; }
|
||||
HttpClient& MaxHeaderSize(int m) { max_header_size = m; return *this; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue