blob: af71c665630d942f641b45842966eaa0b02681b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/**
* @file llcaphttpsender.h
* @brief Abstracts details of sending messages via the
* UntrustedMessage capability.
*
* Copyright (c) 2007-$CurrentYear$, Linden Research, Inc.
* $License$
*/
#ifndef LL_CAP_HTTP_SENDER_H
#define LL_CAP_HTTP_SENDER_H
#include "llhttpsender.h"
class LLCapHTTPSender : public LLHTTPSender
{
public:
LLCapHTTPSender(const std::string& cap);
/** @brief Send message via UntrustedMessage capability with body,
call response when done */
virtual void send(const LLHost& host,
const char* message, const LLSD& body,
LLHTTPClient::ResponderPtr response) const;
private:
std::string mCap;
};
#endif // LL_CAP_HTTP_SENDER_H
|