mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Use httpfetch_async in serverlist announce code
This commit is contained in:
@@ -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 = "";
|
||||
|
Reference in New Issue
Block a user