| OpenTTD
    | 
Callback for when the HTTP handler has something to tell us. More...
#include <tcp_http.h>
 
  
 | Public Member Functions | |
| virtual void | OnFailure ()=0 | 
| An error has occurred and the connection has been closed. | |
| virtual void | OnReceiveData (const char *data, size_t length)=0 | 
| We're receiving data. | |
| virtual | ~HTTPCallback () | 
| Silentium. | |
Callback for when the HTTP handler has something to tell us.
Definition at line 22 of file tcp_http.h.
| 
 | pure virtual | 
An error has occurred and the connection has been closed.
Referenced by NetworkHTTPSocketHandler::HTTPReceive(), and NetworkHTTPSocketHandler::NetworkHTTPSocketHandler().
| 
 | pure virtual | 
We're receiving data.
| data | the received data, NULL when all data has been received. | 
| length | the amount of received data, 0 when all data has been received. | 
Referenced by NetworkHTTPSocketHandler::Receive().
 1.8.1.2
 1.8.1.2