llcaphttpsender.cpp

Go to the documentation of this file.
00001 
00032 #include "llviewerprecompiledheaders.h"
00033 
00034 #include "linden_common.h"
00035 #include "llcaphttpsender.h"
00036 
00037 LLCapHTTPSender::LLCapHTTPSender(const std::string& cap) :
00038         mCap(cap)
00039 {
00040 }
00041 
00042 //virtual 
00043 void LLCapHTTPSender::send(const LLHost& host, const char* message, 
00044                                                                   const LLSD& body, 
00045                                                                   LLHTTPClient::ResponderPtr response) const
00046 {
00047         llinfos << "LLCapHTTPSender::send: message " << message
00048                         << " to host " << host << llendl;
00049         LLSD llsd;
00050         llsd["message"] = message;
00051         llsd["body"] = body;
00052         LLHTTPClient::post(mCap, llsd, response);
00053 }

Generated on Thu Jul 1 06:08:21 2010 for Second Life Viewer by  doxygen 1.4.7