mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Use httpfetch_async in serverlist announce code
This commit is contained in:
parent
0a903e69fb
commit
b03135548b
3 changed files with 17 additions and 26 deletions
|
@ -54,6 +54,9 @@ struct HTTPFetchRequest
|
|||
// If not empty, should contain entries such as "Accept: text/html"
|
||||
std::vector<std::string> extra_headers;
|
||||
|
||||
//useragent to use
|
||||
std::string useragent;
|
||||
|
||||
HTTPFetchRequest()
|
||||
{
|
||||
url = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue