summaryrefslogtreecommitdiff
path: root/indra/llmessage/llsdhttpserver.h
blob: 11ff38955b48cb7e43d93cabd54850c0803bc4a0 (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
31
32
33
/** 
 * @file llsdhttpserver.h
 * @brief Standard LLSD services
 *
 * Copyright (c) 2006-$CurrentYear$, Linden Research, Inc.
 * $License$
 */

#ifndef LL_LLSDHTTPSERVER_H
#define LL_LLSDHTTPSERVER_H

/** 
 * This module implements and defines common services that should be included
 * in all server URL trees.  These services facilitate debugging and
 * introsepction.
 */

class LLHTTPStandardServices
{
public:
	static void useServices();
		/**< 
			Having a call to this function causes the following services to be
			registered:
				/web/echo			-- echo input
				/web/hello			-- return "hello"
				/web/server/api		-- return a list of url paths on the server
				/web/server/api/<..path..>
									-- return description of the path
		*/
};

#endif // LL_LLSDHTTPSERVER_H