memgraph/speedy/http/request.hpp
2015-10-13 23:01:20 +02:00

29 lines
367 B
C++

#ifndef UVMACHINE_HTTP_REQUEST_HPP
#define UVMACHINE_HTTP_REQUEST_HPP
#include <string>
#include <map>
#include "version.hpp"
#include "method.hpp"
namespace http
{
struct Request
{
Version version;
Method method;
std::string url;
std::map<std::string, std::string> headers;
// todo rename this body
std::string body;
};
}
#endif