mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
From: Dr Scofield <DrScofield@xyzzyxyzzy.net>
the attached patch set adds the (still work-in-progress but already working) RestPlugin base class and the RestRegionPlugin code. we are using XML serialization. currently working: GET /admin/regions/ -> returns UUID list of known regions GET /admin/regions/<UUID> -> returns detailed region information we'll be adding support for POST/DELETE/PUT and also for /admin/regions/<UUID>/name etc.
This commit is contained in:
@@ -34,6 +34,11 @@ namespace OpenSim.Framework.Servers
|
||||
{
|
||||
private RestMethod m_restMethod;
|
||||
|
||||
public RestMethod Method
|
||||
{
|
||||
get { return m_restMethod; }
|
||||
}
|
||||
|
||||
public override byte[] Handle(string path, Stream request)
|
||||
{
|
||||
Encoding encoding = Encoding.UTF8;
|
||||
|
||||
Reference in New Issue
Block a user