comparison Core/HttpServer/IHttpHandler.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 4f8c8ef114db
children b1291df2f780
comparison
equal deleted inserted replaced
1570:2bd2c280f9b5 1571:3232f1c995a5
51 virtual ~IHttpHandler() 51 virtual ~IHttpHandler()
52 { 52 {
53 } 53 }
54 54
55 virtual bool Handle(HttpOutput& output, 55 virtual bool Handle(HttpOutput& output,
56 RequestOrigin origin,
57 const char* remoteIp,
58 const char* username,
56 HttpMethod method, 59 HttpMethod method,
57 const UriComponents& uri, 60 const UriComponents& uri,
58 const Arguments& headers, 61 const Arguments& headers,
59 const GetArguments& getArguments, 62 const GetArguments& getArguments,
60 const char* bodyData, 63 const char* bodyData,