Codechange: Update minimum CMake version to 3.16 for all parts. (#13141)
[openttd-github.git] / src / network / core / http_none.cpp
blob822c71f01cc068166a0c19360710d2b6fef2b529
1 /*
2 * This file is part of OpenTTD.
3 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
4 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
5 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
6 */
8 /**
9 * @file http_emscripten.cpp Emscripten-based implementation for HTTP requests.
12 #include "../../stdafx.h"
13 #include "../../debug.h"
14 #include "../../rev.h"
15 #include "../network_internal.h"
17 #include "http.h"
19 #include "../../safeguards.h"
21 /* static */ void NetworkHTTPSocketHandler::Connect(const std::string &, HTTPCallback *callback, const std::string)
23 /* No valid HTTP backend was compiled in, so we fail all HTTP requests. */
24 callback->OnFailure();
27 /* static */ void NetworkHTTPSocketHandler::HTTPReceive()
31 void NetworkHTTPInitialize()
35 void NetworkHTTPUninitialize()