comparison OrthancServer/OrthancHttpHandler.h @ 3395:0ce9b4f5fdf5

new abstraction: IHttpHandler::CreateStreamHandler()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Jun 2019 18:54:27 +0200
parents 4e43e67f8ecf
children 962e5f00744b
comparison
equal deleted inserted replaced
3394:2f82ef41bf5a 3395:0ce9b4f5fdf5
48 public: 48 public:
49 OrthancHttpHandler() : orthancRestApi_(NULL) 49 OrthancHttpHandler() : orthancRestApi_(NULL)
50 { 50 {
51 } 51 }
52 52
53 virtual IStream* CreateStreamHandler(RequestOrigin origin,
54 const char* remoteIp,
55 const char* username,
56 HttpMethod method,
57 const UriComponents& uri,
58 const Arguments& headers);
59
53 virtual bool Handle(HttpOutput& output, 60 virtual bool Handle(HttpOutput& output,
54 RequestOrigin origin, 61 RequestOrigin origin,
55 const char* remoteIp, 62 const char* remoteIp,
56 const char* username, 63 const char* username,
57 HttpMethod method, 64 HttpMethod method,