diff Core/HttpServer/MongooseServer.h @ 895:7e8cde5905fd plugins

allow superposition of REST handlers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 16 Jun 2014 17:47:58 +0200
parents 2d0a347e8cfc
children bb0a51561016
line wrap: on
line diff
--- a/Core/HttpServer/MongooseServer.h	Mon Jun 16 17:31:09 2014 +0200
+++ b/Core/HttpServer/MongooseServer.h	Mon Jun 16 17:47:58 2014 +0200
@@ -139,8 +139,8 @@
 
     void ClearHandlers();
 
-    // Can return NULL if no handler is associated to this URI
-    HttpHandler* FindHandler(const UriComponents& forUri) const;
+    void FindHandlers(std::list<HttpHandler*>& result,
+                      const UriComponents& forUri) const;
 
     ChunkStore& GetChunkStore();