diff Plugins/Engine/OrthancPlugins.cpp @ 3395:0ce9b4f5fdf5

new abstraction: IHttpHandler::CreateStreamHandler()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Jun 2019 18:54:27 +0200
parents 2cd0369a156f
children 4981405e6c5c
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.cpp	Thu Jun 06 16:42:41 2019 +0200
+++ b/Plugins/Engine/OrthancPlugins.cpp	Thu Jun 06 18:54:27 2019 +0200
@@ -4009,4 +4009,17 @@
       }
     }
   }
+
+
+  IHttpHandler::IStream* OrthancPlugins::CreateStreamHandler(RequestOrigin origin,
+                                                             const char* remoteIp,
+                                                             const char* username,
+                                                             HttpMethod method,
+                                                             const UriComponents& uri,
+                                                             const Arguments& headers)
+  {
+    // TODO - Plugins to install a handler for multipart body.
+
+    return NULL;
+  }
 }