tut::HTTPServiceTestData Class Reference

Collaboration diagram for tut::HTTPServiceTestData:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 HTTPServiceTestData ()
void pumpPipe (LLPumpIO *pump, S32 iterations)
std::string makeRequest (const std::string &name, const std::string &httpRequest, bool timeout=false)
std::string httpGET (const std::string &uri, bool timeout=false)
std::string httpPOST (const std::string &uri, const std::string &body, bool timeout, const std::string &evilExtra="")
std::string httpPOST (const std::string &uri, const std::string &body, const std::string &evilExtra="")

Public Attributes

LLHTTPNode mRoot
LLHTTPNode::ResponsePtr mResponse
LLSD mResult

Classes

class  DelayedEcho
class  WireHello

Detailed Description

Definition at line 45 of file lliohttpserver_tut.cpp.


Constructor & Destructor Documentation

tut::HTTPServiceTestData::HTTPServiceTestData (  )  [inline]

Definition at line 81 of file lliohttpserver_tut.cpp.

References LLHTTPNode::addNode(), LLHTTPRegistrar::buildAllServices(), mRoot, and LLHTTPStandardServices::useServices().


Member Function Documentation

std::string tut::HTTPServiceTestData::httpGET ( const std::string &  uri,
bool  timeout = false 
) [inline]

Definition at line 150 of file lliohttpserver_tut.cpp.

References makeRequest().

std::string tut::HTTPServiceTestData::httpPOST ( const std::string &  uri,
const std::string &  body,
const std::string &  evilExtra = "" 
) [inline]

Definition at line 172 of file lliohttpserver_tut.cpp.

References httpPOST().

std::string tut::HTTPServiceTestData::httpPOST ( const std::string &  uri,
const std::string &  body,
bool  timeout,
const std::string &  evilExtra = "" 
) [inline]

Definition at line 157 of file lliohttpserver_tut.cpp.

References makeRequest().

Referenced by httpPOST().

std::string tut::HTTPServiceTestData::makeRequest ( const std::string &  name,
const std::string &  httpRequest,
bool  timeout = false 
) [inline]

Definition at line 104 of file lliohttpserver_tut.cpp.

References LLPumpIO::addChain(), LLIOHTTPServer::createPipe(), DEFAULT_CHAIN_EXPIRY_SECS, mResponse, mResult, mRoot, NULL, and pumpPipe().

Referenced by httpGET(), and httpPOST().

void tut::HTTPServiceTestData::pumpPipe ( LLPumpIO pump,
S32  iterations 
) [inline]

Definition at line 94 of file lliohttpserver_tut.cpp.

References LLPumpIO::callback(), and LLPumpIO::pump().

Referenced by makeRequest().


Member Data Documentation

LLHTTPNode::ResponsePtr tut::HTTPServiceTestData::mResponse

Definition at line 91 of file lliohttpserver_tut.cpp.

Referenced by makeRequest(), and tut::HTTPServiceTestData::DelayedEcho::post().

LLSD tut::HTTPServiceTestData::mResult

Definition at line 92 of file lliohttpserver_tut.cpp.

Referenced by makeRequest(), and tut::HTTPServiceTestData::DelayedEcho::post().

LLHTTPNode tut::HTTPServiceTestData::mRoot

Definition at line 90 of file lliohttpserver_tut.cpp.

Referenced by HTTPServiceTestData(), and makeRequest().


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:12:07 2010 for Second Life Viewer by  doxygen 1.4.7