ZeroEQ  0.8.0
ZeroEQ - Zero Event Queue
request.h
1 /* Copyright (c) 2017, EPFL/Blue Brain Project
2  * Stefan.Eilemann@epfl.ch
3  * Raphael.Dumusc@epfl.ch
4  */
5 
6 #ifndef ZEROEQ_HTTP_REQUEST_H
7 #define ZEROEQ_HTTP_REQUEST_H
8 
9 #include <string>
10 
11 namespace zeroeq
12 {
13 namespace http
14 {
16 enum class Method
17 {
18  GET,
19  POST,
20  PUT,
21  PATCH,
22  DELETE,
23  ALL
24 };
25 
48 struct Request
49 {
50  Method method;
51  std::string path;
52  std::string query;
53  std::string body;
54 };
55 }
56 }
57 
58 #endif
Method
HTTP method used in a Request.
Definition: request.h:16
HTTP Request with method, path and body.
Definition: request.h:48
Publish-subscribe classes for typed events.
Definition: broker.h:12