(http client) Set default values for most HttpRequestArgs struct members (fix #185)
This commit is contained in:
parent
20294841b3
commit
5632360fbd
@ -1,6 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
All changes to this project will be documented in this file.
|
All changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## [9.5.1] - 2020-04-27
|
||||||
|
|
||||||
|
(http client) Set default values for most HttpRequestArgs struct members (fix #185)
|
||||||
|
|
||||||
## [9.5.0] - 2020-04-25
|
## [9.5.0] - 2020-04-25
|
||||||
|
|
||||||
(ssl) Default to OpenSSL on Windows, since it can load the system certificates by default
|
(ssl) Default to OpenSSL on Windows, since it can load the system certificates by default
|
||||||
|
@ -78,12 +78,12 @@ namespace ix
|
|||||||
WebSocketHttpHeaders extraHeaders;
|
WebSocketHttpHeaders extraHeaders;
|
||||||
std::string body;
|
std::string body;
|
||||||
std::string multipartBoundary;
|
std::string multipartBoundary;
|
||||||
int connectTimeout;
|
int connectTimeout = 60;
|
||||||
int transferTimeout;
|
int transferTimeout = 1800;
|
||||||
bool followRedirects;
|
bool followRedirects = true;
|
||||||
int maxRedirects;
|
int maxRedirects = 5;
|
||||||
bool verbose;
|
bool verbose = false;
|
||||||
bool compress;
|
bool compress = true;
|
||||||
Logger logger;
|
Logger logger;
|
||||||
OnProgressCallback onProgressCallback;
|
OnProgressCallback onProgressCallback;
|
||||||
};
|
};
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define IX_WEBSOCKET_VERSION "9.5.0"
|
#define IX_WEBSOCKET_VERSION "9.5.1"
|
||||||
|
Loading…
Reference in New Issue
Block a user