mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Common/HttpRequest: optionally follow redirects
This commit is contained in:
parent
a129d60a57
commit
3ff0e7dbd4
2 changed files with 13 additions and 0 deletions
|
@ -33,6 +33,7 @@ public:
|
|||
|
||||
void SetCookies(const std::string& cookies);
|
||||
void UseIPv4();
|
||||
void FollowRedirects(long max = 1);
|
||||
Response Get(const std::string& url, const Headers& headers = {});
|
||||
Response Post(const std::string& url, const std::vector<u8>& payload,
|
||||
const Headers& headers = {});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue