Home > Web Site Updates > WinHTTPWrappers v1.34

WinHTTPWrappers v1.34

August 17, 2022

Just to let everyone know that v1.34 of WinHTTPWrappers has been released. Updates for this version include:

  • Reset more member variables in CAsyncDownloader::ReleaseResources.
  • CAsyncDownloader::m_dwLastStatusCode is now implemented as a std::optional.
  • CAsyncDownloader::m_nContentLength is now implemented as a std::optional.
  • Made all CAsyncDownloader member variables public to allow easier customisation of the class
  • Implemented a version of CAsyncDownloader::SendRequest which allows the headers to be provided as a parameter.
  • Implemented a version of CSyncDownloader ::SendRequestSync which allows the headers to be provided as a parameter.
  • Reworked CAsyncDownloader::On407Response, CAsyncDownloader::On401Response and CAsyncDownloader::OnRequestErrorCallback to use correct value for dwTotalLength when calling WinHttpSendRequest.
  • Reworked CSyncDownloader::SendRequestSync to call OnCheckStatusCode method.
Categories: Web Site Updates
%d bloggers like this: