FlightGear next
HTTPClient Class Reference

Inherits simgear::NetBufferChannel.

Public Member Functions

 HTTPClient (const char *host, int port, const char *path)
 
virtual void handleBufferRead (simgear::NetBuffer &buffer)
 
bool isDone () const
 
bool isDone (long usec) const
 
void poll (int timeout)
 

Detailed Description

Definition at line 26 of file ExternalNet.cxx.

Constructor & Destructor Documentation

◆ HTTPClient()

HTTPClient::HTTPClient ( const char * host,
int port,
const char * path )
inline

Definition at line 33 of file ExternalNet.cxx.

Member Function Documentation

◆ handleBufferRead()

virtual void HTTPClient::handleBufferRead ( simgear::NetBuffer & buffer)
inlinevirtual

Definition at line 48 of file ExternalNet.cxx.

◆ isDone() [1/2]

bool HTTPClient::isDone ( ) const
inline

Definition at line 61 of file ExternalNet.cxx.

◆ isDone() [2/2]

bool HTTPClient::isDone ( long usec) const
inline

Definition at line 62 of file ExternalNet.cxx.

◆ poll()

void HTTPClient::poll ( int timeout)
inline

Definition at line 71 of file ExternalNet.cxx.


The documentation for this class was generated from the following file: