mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +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>
|
||||
|
||||
@@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("0.7.5.*")]
|
||||
[assembly: AssemblyVersion("0.7.6.*")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
|
||||
Reference in New Issue
Block a user