mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Massive tab and trailing space cleanup
This commit is contained in:
@@ -45,26 +45,26 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
// // the handlers - it is NOT required to be an actual agent header
|
||||
// // value.
|
||||
// bool AddAgentHandler(string agent, IHttpAgentHandler handler);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Add a handler for an HTTP request.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This handler can actually be invoked either as
|
||||
///
|
||||
/// http://<hostname>:<port>/?method=<methodName>
|
||||
///
|
||||
/// This handler can actually be invoked either as
|
||||
///
|
||||
/// http://<hostname>:<port>/?method=<methodName>
|
||||
///
|
||||
/// or
|
||||
///
|
||||
///
|
||||
/// http://<hostname>:<port><method>
|
||||
///
|
||||
///
|
||||
/// if the method name starts with a slash. For example, AddHTTPHandler("/object/", ...) on a standalone region
|
||||
/// server will register a handler that can be invoked with either
|
||||
///
|
||||
///
|
||||
/// http://localhost:9000/?method=/object/
|
||||
///
|
||||
///
|
||||
/// or
|
||||
///
|
||||
///
|
||||
/// http://localhost:9000/object/
|
||||
///
|
||||
/// In addition, the handler invoked by the HTTP server for any request is the one when best matches the request
|
||||
@@ -87,7 +87,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
/// <param name="handler">handle the LLSD response</param>
|
||||
/// <returns></returns>
|
||||
bool AddLLSDHandler(string path, LLSDMethod handler);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Add a stream handler to the http server. If the handler already exists, then nothing happens.
|
||||
/// </summary>
|
||||
@@ -98,7 +98,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
bool AddXmlRPCHandler(string method, XmlRpcMethod handler, bool keepAlive);
|
||||
|
||||
bool AddJsonRPCHandler(string method, JsonRPCMethod handler);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Websocket HTTP server handlers.
|
||||
/// </summary>
|
||||
@@ -108,7 +108,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
|
||||
|
||||
void RemoveWebSocketHandler(string servicepath);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Gets the XML RPC handler for given method name
|
||||
/// </summary>
|
||||
@@ -125,7 +125,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
// /// <param name="handler"></param>
|
||||
// /// <returns></returns>
|
||||
// bool RemoveAgentHandler(string agent, IHttpAgentHandler handler);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Remove an HTTP handler
|
||||
/// </summary>
|
||||
@@ -134,15 +134,15 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
void RemoveHTTPHandler(string httpMethod, string path);
|
||||
|
||||
void RemovePollServiceHTTPHandler(string httpMethod, string path);
|
||||
|
||||
|
||||
bool RemoveLLSDHandler(string path, LLSDMethod handler);
|
||||
|
||||
|
||||
void RemoveStreamHandler(string httpMethod, string path);
|
||||
|
||||
void RemoveXmlRPCHandler(string method);
|
||||
|
||||
void RemoveJsonRPCHandler(string method);
|
||||
|
||||
|
||||
string GetHTTP404(string host);
|
||||
|
||||
string GetHTTP500();
|
||||
|
||||
@@ -83,7 +83,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
{
|
||||
void Handle(string path, Stream request, Stream response, IOSHttpRequest httpReqbuest, IOSHttpResponse httpResponse);
|
||||
}
|
||||
|
||||
|
||||
public interface IGenericHTTPHandler : IRequestHandler
|
||||
{
|
||||
Hashtable Handle(string path, Hashtable request);
|
||||
|
||||
Reference in New Issue
Block a user