HttpResponse Class Reference

Class ancapsulating an HTTP response. More...

List of all members.

Public Member Functions

std::basic_istream< TCHAR > & getContentStream ()
 Returns the underlaying stream of the HTTP response.
bool isGood () const
 Returns true if HttpRequest is "good".


Detailed Description

Class ancapsulating an HTTP response.

An HTTP response is the "return value" of submitting an HttpRequest and is basically worthless on its own or without creating and submitting an HTTP request beforehand.


Member Function Documentation

std::basic_istream< TCHAR > & getContentStream (  ) 

Returns the underlaying stream of the HTTP response.

Note that the returned stream is in "read only" mode

bool isGood (  )  const

Returns true if HttpRequest is "good".

If response is "good" or meaning it didn't generate a server exception or anything like that this function will return true

Back to SmartWin website
SourceForge.net Logo