comparison OrthancServer/OrthancHttpHandler.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 8dc80ba768aa
children b1291df2f780
comparison
equal deleted inserted replaced
1570:2bd2c280f9b5 1571:3232f1c995a5
48 OrthancHttpHandler() : orthancRestApi_(NULL) 48 OrthancHttpHandler() : orthancRestApi_(NULL)
49 { 49 {
50 } 50 }
51 51
52 virtual bool Handle(HttpOutput& output, 52 virtual bool Handle(HttpOutput& output,
53 RequestOrigin origin,
54 const char* remoteIp,
55 const char* username,
53 HttpMethod method, 56 HttpMethod method,
54 const UriComponents& uri, 57 const UriComponents& uri,
55 const Arguments& headers, 58 const Arguments& headers,
56 const GetArguments& getArguments, 59 const GetArguments& getArguments,
57 const char* bodyData, 60 const char* bodyData,