OpenTTD Source 20241224-master-gee860a5c8e
|
Basic functions to send and receive HTTP packets. More...
#include "tcp.h"
Go to the source code of this file.
Data Structures | |
struct | HTTPCallback |
Callback for when the HTTP handler has something to tell us. More... | |
class | NetworkHTTPSocketHandler |
Base socket handler for HTTP traffic. More... | |
Functions | |
void | NetworkHTTPInitialize () |
Initialize the HTTP socket handler. | |
void | NetworkHTTPUninitialize () |
Uninitialize the HTTP socket handler. | |
Variables | |
constexpr int | HTTP_429_TOO_MANY_REQUESTS = 429 |
Basic functions to send and receive HTTP packets.
Definition in file http.h.
void NetworkHTTPInitialize | ( | ) |
Initialize the HTTP socket handler.
Definition at line 242 of file http_curl.cpp.
References Debug, FileExists(), and StartNewThread().
Referenced by NetworkStartUp().
void NetworkHTTPUninitialize | ( | ) |
Uninitialize the HTTP socket handler.
Definition at line 277 of file http_curl.cpp.
References NetworkHTTPSocketHandler::HTTPReceive(), and lock.
Referenced by NetworkShutDown().