Remove HTTPMethod Enum
With the transition to beast, all uses of this enum have moved to
the boost::beast::http::verb, and this enum is no longer neccesary. It
can be removed.
Change-Id: I6065b8159ec8a9ffdae6f98063798e12956c18d6
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
diff --git a/crow/include/crow/common.h b/crow/include/crow/common.h
index b3e424f..428da7d 100644
--- a/crow/include/crow/common.h
+++ b/crow/include/crow/common.h
@@ -10,30 +10,6 @@
namespace crow
{
-enum class HTTPMethod
-{
-#ifndef DELETE
- DELETE = 0,
- GET,
- HEAD,
- POST,
- PUT,
- CONNECT,
- OPTIONS,
- TRACE,
- PATCH = 24, // see http_parser_merged.h line 118 for why it is 24
-#endif
-
- Delete = 0,
- Get,
- Head,
- Post,
- Put,
- Connect,
- Options,
- Trace,
- Patch = 24,
-};
inline std::string methodName(boost::beast::http::verb method)
{