(http client) use std::unordered_map instead of std::map for HttpParameters and HttpFormDataParameters class aliases
This commit is contained in:
parent
d465511812
commit
c91a0d2a35
@ -1 +1 @@
|
|||||||
7.4.2
|
7.4.3
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## [7.4.3] - 2019-12-03
|
||||||
|
|
||||||
|
- (http client) use std::unordered_map instead of std::map for HttpParameters and HttpFormDataParameters class aliases
|
||||||
|
|
||||||
## [7.4.2] - 2019-12-02
|
## [7.4.2] - 2019-12-02
|
||||||
|
|
||||||
- (client) internal IXDNSLookup class requires a valid cancellation request function callback to be passed in
|
- (client) internal IXDNSLookup class requires a valid cancellation request function callback to be passed in
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
#include "IXProgressCallback.h"
|
#include "IXProgressCallback.h"
|
||||||
#include "IXWebSocketHttpHeaders.h"
|
#include "IXWebSocketHttpHeaders.h"
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
|
#include <unordered_map>
|
||||||
|
|
||||||
namespace ix
|
namespace ix
|
||||||
{
|
{
|
||||||
@ -65,8 +66,8 @@ namespace ix
|
|||||||
};
|
};
|
||||||
|
|
||||||
using HttpResponsePtr = std::shared_ptr<HttpResponse>;
|
using HttpResponsePtr = std::shared_ptr<HttpResponse>;
|
||||||
using HttpParameters = std::map<std::string, std::string>;
|
using HttpParameters = std::unordered_map<std::string, std::string>;
|
||||||
using HttpFormDataParameters = std::map<std::string, std::string>;
|
using HttpFormDataParameters = std::unordered_map<std::string, std::string>;
|
||||||
using Logger = std::function<void(const std::string&)>;
|
using Logger = std::function<void(const std::string&)>;
|
||||||
using OnResponseCallback = std::function<void(const HttpResponsePtr&)>;
|
using OnResponseCallback = std::function<void(const HttpResponsePtr&)>;
|
||||||
|
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define IX_WEBSOCKET_VERSION "7.4.2"
|
#define IX_WEBSOCKET_VERSION "7.4.3"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user