OpenTTD Source
20240919-master-gdf0233f4c2
|
12 #include "../../stdafx.h"
13 #include "../../debug.h"
14 #include "../../rev.h"
15 #include "../network_internal.h"
19 #include "../../safeguards.h"
Callback for when the HTTP handler has something to tell us.
static void Connect(const std::string &uri, HTTPCallback *callback, const std::string data="")
Connect to the given URI.
virtual void OnFailure()=0
An error has occurred and the connection has been closed.
void NetworkHTTPUninitialize()
Uninitialize the HTTP socket handler.
static void HTTPReceive()
Do the receiving for all HTTP connections.
void NetworkHTTPInitialize()
Initialize the HTTP socket handler.