forked from boostorg/beast
fix #397 method enum class is added to represent all known request methods. Functions are provided to convert from strings to and from the method enumeration. The fields container is modified to also work with the enum.
30 lines
859 B
C++
30 lines
859 B
C++
//
|
|
// Copyright (c) 2013-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
|
|
//
|
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
//
|
|
|
|
#ifndef BEAST_HTTP_HPP
|
|
#define BEAST_HTTP_HPP
|
|
|
|
#include <beast/config.hpp>
|
|
|
|
#include <beast/http/basic_parser.hpp>
|
|
#include <beast/http/buffer_body.hpp>
|
|
#include <beast/http/dynamic_body.hpp>
|
|
#include <beast/http/empty_body.hpp>
|
|
#include <beast/http/error.hpp>
|
|
#include <beast/http/fields.hpp>
|
|
#include <beast/http/header_parser.hpp>
|
|
#include <beast/http/message.hpp>
|
|
#include <beast/http/message_parser.hpp>
|
|
#include <beast/http/read.hpp>
|
|
#include <beast/http/rfc7230.hpp>
|
|
#include <beast/http/serializer.hpp>
|
|
#include <beast/http/string_body.hpp>
|
|
#include <beast/http/verb.hpp>
|
|
#include <beast/http/write.hpp>
|
|
|
|
#endif
|