| 139 | } |
| 140 | |
| 141 | void HTTPSClientEx::onReceivedResponse(const HTTPResponse& response) |
| 142 | { |
| 143 | // Cancel timeout check timer |
| 144 | if (_timeout) |
| 145 | _timeout->Cancel(); |
| 146 | |
| 147 | SetPromiseValue(response); |
| 148 | } |
| 149 | |
| 150 | void HTTPSClientEx::onReceivedResponseError(const HTTPResponse& response, const std::string& error) |
| 151 | { |