aboutsummaryrefslogtreecommitdiffstats
path: root/include/http_request.h
blob: af623c6cedbb0bc78f8423c1c835e60b364f8c2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include "common.h"

namespace crow
{
    struct request
    {
        HTTPMethod method;
        std::string url;
        std::unordered_map<std::string, std::string> headers;
        std::string body;

        void* middleware_context{};
    };
}