comparison 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
comparison
equal deleted inserted replaced
1570:2bd2c280f9b5 1571:3232f1c995a5
101 virtual ~OrthancPlugins(); 101 virtual ~OrthancPlugins();
102 102
103 void SetServerContext(ServerContext& context); 103 void SetServerContext(ServerContext& context);
104 104
105 virtual bool Handle(HttpOutput& output, 105 virtual bool Handle(HttpOutput& output,
106 RequestOrigin origin,
107 const char* remoteIp,
108 const char* username,
106 HttpMethod method, 109 HttpMethod method,
107 const UriComponents& uri, 110 const UriComponents& uri,
108 const Arguments& headers, 111 const Arguments& headers,
109 const GetArguments& getArguments, 112 const GetArguments& getArguments,
110 const char* bodyData, 113 const char* bodyData,