Files
boost_beast/include/beast/http/parse_error.hpp
T

48 lines
807 B
C++
Raw Normal View History

2016-04-25 05:27:34 -04:00
//
2017-02-06 20:07:03 -05:00
// Copyright (c) 2013-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
2016-04-25 05:27:34 -04:00
//
// 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_PARSE_ERROR_HPP
#define BEAST_HTTP_PARSE_ERROR_HPP
2016-05-07 14:57:15 -04:00
#include <beast/core/error.hpp>
2016-04-25 05:27:34 -04:00
namespace beast {
namespace http {
enum class parse_error
{
2016-10-04 18:00:11 -04:00
connection_closed = 1,
2016-04-25 05:27:34 -04:00
bad_method,
bad_uri,
bad_version,
bad_crlf,
bad_status,
bad_reason,
2016-04-25 05:27:34 -04:00
bad_field,
bad_value,
bad_content_length,
illegal_content_length,
invalid_chunk_size,
invalid_ext_name,
invalid_ext_val,
2016-04-25 05:27:34 -04:00
header_too_big,
body_too_big,
2016-11-08 13:15:07 -05:00
short_read
2016-04-25 05:27:34 -04:00
};
} // http
} // beast
2016-10-04 18:00:11 -04:00
#include <beast/http/impl/parse_error.ipp>
2016-04-25 05:27:34 -04:00
#endif