mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-07 11:14:11 +00:00
cleanup and make the web routes cleaner
This commit is contained in:
21
dCommon/dEnums/eHTTPMethod.h
Normal file
21
dCommon/dEnums/eHTTPMethod.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef __EHTTPMETHODS__H__
|
||||
#define __EHTTPMETHODS__H__
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#include "magic_enum.hpp"
|
||||
|
||||
enum class eHTTPMethod : uint16_t {
|
||||
GET,
|
||||
POST,
|
||||
PUT,
|
||||
DELETE,
|
||||
HEAD,
|
||||
CONNECT,
|
||||
OPTIONS,
|
||||
TRACE,
|
||||
PATCH,
|
||||
INVALID
|
||||
};
|
||||
|
||||
#endif // __EHTTPMETHODS__H__
|
Reference in New Issue
Block a user