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 |
Definition at line 45 of file lliohttpserver_tut.cpp.
tut::HTTPServiceTestData::HTTPServiceTestData | ( | ) | [inline] |
Definition at line 81 of file lliohttpserver_tut.cpp.
References LLHTTPNode::addNode(), LLHTTPRegistrar::buildAllServices(), mRoot, and LLHTTPStandardServices::useServices().
std::string tut::HTTPServiceTestData::httpGET | ( | const std::string & | uri, | |
bool | timeout = false | |||
) | [inline] |
std::string tut::HTTPServiceTestData::httpPOST | ( | const std::string & | uri, | |
const std::string & | body, | |||
const std::string & | evilExtra = "" | |||
) | [inline] |
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().
Definition at line 94 of file lliohttpserver_tut.cpp.
References LLPumpIO::callback(), and LLPumpIO::pump().
Referenced by makeRequest().
Definition at line 91 of file lliohttpserver_tut.cpp.
Referenced by makeRequest(), and tut::HTTPServiceTestData::DelayedEcho::post().
Definition at line 92 of file lliohttpserver_tut.cpp.
Referenced by makeRequest(), and tut::HTTPServiceTestData::DelayedEcho::post().
Definition at line 90 of file lliohttpserver_tut.cpp.
Referenced by HTTPServiceTestData(), and makeRequest().