|
OpenTTD Source 20251117-master-g7398d2e290
|
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 250 of file http_curl.cpp.
References Debug, FileExists(), and StartNewThread().
Referenced by NetworkStartUp().
| void NetworkHTTPUninitialize | ( | ) |
Uninitialize the HTTP socket handler.
Definition at line 285 of file http_curl.cpp.
References NetworkHTTPSocketHandler::HTTPReceive(), and lock.
Referenced by NetworkShutDown().