mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
* Adds Websocket support to baseHttpServer and IHttpServer.cs . This allows modules to set up a websocket server that websocket clients can connect to. An example module is in OptionalModules/Example/WebSocketEchoTest/WebSocketEchoModule.cs
This commit is contained in:
@@ -98,7 +98,17 @@ 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>
|
||||
/// <param name="servicepath"></param>
|
||||
/// <param name="handler"></param>
|
||||
void AddWebSocketHandler(string servicepath, BaseHttpServer.WebSocketRequestDelegate handler);
|
||||
|
||||
|
||||
void RemoveWebSocketHandler(string servicepath);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the XML RPC handler for given method name
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user