(http client) Set default values for most HttpRequestArgs struct members (fix #185)

This commit is contained in:
Benjamin Sergeant committed 2020-04-27 09:43:31 -07:00
1 parent 20294841b3
commit 5632360fbd
3 files changed
+11 -7

No files matched your search

+6 -6
View File
@@ -78,12 +78,12 @@ namespace ix
WebSocketHttpHeaders extraHeaders;
std::string body;
std::string multipartBoundary;
int connectTimeout;
int transferTimeout;
bool followRedirects;
int maxRedirects;
bool verbose;
bool compress;
int connectTimeout = 60;
int transferTimeout = 1800;
bool followRedirects = true;
int maxRedirects = 5;
bool verbose = false;
bool compress = true;
Logger logger;
OnProgressCallback onProgressCallback;
};