mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-01-21 12:17:01 +00:00
Merge branch 'webapiv2' of https://github.com/DarkflameUniverse/DarkflameServer into webapiv2
This commit is contained in:
parent
0aa1be01d2
commit
c31bf3fad4
@ -1,6 +1,16 @@
|
|||||||
#ifndef __EHTTPMETHODS__H__
|
#ifndef __EHTTPMETHODS__H__
|
||||||
#define __EHTTPMETHODS__H__
|
#define __EHTTPMETHODS__H__
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
|
#include "magic_enum.hpp"
|
||||||
|
#include "dPlatforms.h"
|
||||||
|
|
||||||
|
#ifdef DARKFLAME_PLATFORM_WIN32
|
||||||
|
#pragma push_macro("DELETE")
|
||||||
|
#undef DELETE
|
||||||
|
#endif
|
||||||
|
|
||||||
enum class eHTTPMethod {
|
enum class eHTTPMethod {
|
||||||
GET,
|
GET,
|
||||||
POST,
|
POST,
|
||||||
@ -14,4 +24,8 @@ enum class eHTTPMethod {
|
|||||||
INVALID
|
INVALID
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // __EHTTPMETHODS__H__
|
#ifdef DARKFLAME_PLATFORM_WIN32
|
||||||
|
#pragma pop_macro("DELETE")
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif // __EHTTPMETHODS__H__
|
||||||
|
Loading…
Reference in New Issue
Block a user