diff Plugins/Engine/OrthancPlugins.h @ 1571:3232f1c995a5

provide the origin of the requests to HTTP handlers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Aug 2015 11:04:19 +0200
parents 89ab71a68fcf
children 0c29ebe80ac9
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.h	Sun Aug 23 11:13:03 2015 +0200
+++ b/Plugins/Engine/OrthancPlugins.h	Tue Aug 25 11:04:19 2015 +0200
@@ -103,6 +103,9 @@
     void SetServerContext(ServerContext& context);
 
     virtual bool Handle(HttpOutput& output,
+                        RequestOrigin origin,
+                        const char* remoteIp,
+                        const char* username,
                         HttpMethod method,
                         const UriComponents& uri,
                         const Arguments& headers,