Mercurial > hg > orthanc
comparison Core/RestApi/RestApi.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 |
---|---|
45 | 45 |
46 public: | 46 public: |
47 static void AutoListChildren(RestApiGetCall& call); | 47 static void AutoListChildren(RestApiGetCall& call); |
48 | 48 |
49 virtual bool Handle(HttpOutput& output, | 49 virtual bool Handle(HttpOutput& output, |
50 RequestOrigin origin, | |
51 const char* remoteIp, | |
52 const char* username, | |
50 HttpMethod method, | 53 HttpMethod method, |
51 const UriComponents& uri, | 54 const UriComponents& uri, |
52 const Arguments& headers, | 55 const Arguments& headers, |
53 const GetArguments& getArguments, | 56 const GetArguments& getArguments, |
54 const char* bodyData, | 57 const char* bodyData, |