PageRenderTime 20ms CodeModel.GetById 15ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/indra/llmessage/llsdhttpserver.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 51 lines | 8 code | 4 blank | 39 comment | 0 complexity | f0c20077f87f9eba30b063f1720f374a MD5 | raw file
 1/** 
 2 * @file llsdhttpserver.h
 3 * @brief Standard LLSD services
 4 *
 5 * $LicenseInfo:firstyear=2006&license=viewerlgpl$
 6 * Second Life Viewer Source Code
 7 * Copyright (C) 2010, Linden Research, Inc.
 8 * 
 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation;
12 * version 2.1 of the License only.
13 * 
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 * Lesser General Public License for more details.
18 * 
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
22 * 
23 * Linden Research, Inc., 945 Battery Street, San Francisco, CA  94111  USA
24 * $/LicenseInfo$
25 */
26
27#ifndef LL_LLSDHTTPSERVER_H
28#define LL_LLSDHTTPSERVER_H
29
30/** 
31 * This module implements and defines common services that should be included
32 * in all server URL trees.  These services facilitate debugging and
33 * introsepction.
34 */
35
36class LLHTTPStandardServices
37{
38public:
39	static void useServices();
40		/**< 
41			Having a call to this function causes the following services to be
42			registered:
43				/web/echo			-- echo input
44				/web/hello			-- return "hello"
45				/web/server/api		-- return a list of url paths on the server
46				/web/server/api/<..path..>
47									-- return description of the path
48		*/
49};
50
51#endif // LL_LLSDHTTPSERVER_H