diff options
author | rubidium <rubidium@openttd.org> | 2011-01-22 09:53:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-01-22 09:53:15 +0000 |
commit | eb299736c1bcb277da1862afe95c11cb897effcf (patch) | |
tree | 3bb6bff78f066da770a367e078c569dbe8ce319a /src/network/core/tcp_http.h | |
parent | 0cdb1c78cdbfce4d426441c21ef7066f1cfecf6f (diff) | |
download | openttd-eb299736c1bcb277da1862afe95c11cb897effcf.tar.xz |
(svn r21886) -Codechange: move documentation towards the code to make it more likely to be updated [n].
Diffstat (limited to 'src/network/core/tcp_http.h')
-rw-r--r-- | src/network/core/tcp_http.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/network/core/tcp_http.h b/src/network/core/tcp_http.h index 5f54f5ff6..1af7c31df 100644 --- a/src/network/core/tcp_http.h +++ b/src/network/core/tcp_http.h @@ -64,33 +64,14 @@ public: virtual NetworkRecvStatus CloseConnection(bool error = true); - /** - * Start the querying - * @param sock the socket of this connection - * @param callback the callback for HTTP retrieval - * @param url the url at the server - * @param data the data to send - * @param depth the depth (redirect recursion) of the queries - */ NetworkHTTPSocketHandler(SOCKET sock, HTTPCallback *callback, const char *host, const char *url, const char *data, int depth); - /** Free whatever needs to be freed. */ ~NetworkHTTPSocketHandler(); - /** - * Connect to the given URI. - * @param uri the URI to connect to. - * @param callback the callback to send data back on. - * @param data the data we want to send (as POST). - * @param depth the recursion/redirect depth. - */ static int Connect(char *uri, HTTPCallback *callback, const char *data = NULL, int depth = 0); - /** - * Do the receiving for all HTTP connections. - */ static void HTTPReceive(); }; |