WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
HttpClient.h File Reference
#include <functional>
#include <string>
#include <vector>
Include dependency graph for HttpClient.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HttpClient::Response
 Simple HTTP response containing status, body, and error info. More...
 

Namespaces

namespace  HttpClient
 Synchronous HTTP client using the Windows WinHTTP API.
 

Typedefs

using HttpClient::ProgressCallback = std::function< void(size_t bytesReceived, size_t totalBytes)>
 Optional progress callback: (bytesReceived, totalBytes). totalBytes may be 0 if unknown.
 

Functions

Response HttpClient::Get (const std::string &url, const ProgressCallback &progress=nullptr)
 Perform a synchronous HTTP(S) GET request.