mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-05-16 03:21:18 +00:00

* Break out changes into a smaller subset * NL@EOF * fix windows bs add player ws updates add websocket docs * tested everything to make sure it works * Address Feedback
29 lines
372 B
C
29 lines
372 B
C
#ifndef __EHTTPMETHODS__H__
|
|
#define __EHTTPMETHODS__H__
|
|
|
|
#include "dPlatforms.h"
|
|
|
|
#ifdef DARKFLAME_PLATFORM_WIN32
|
|
#pragma push_macro("DELETE")
|
|
#undef DELETE
|
|
#endif
|
|
|
|
enum class eHTTPMethod {
|
|
GET,
|
|
POST,
|
|
PUT,
|
|
DELETE,
|
|
HEAD,
|
|
CONNECT,
|
|
OPTIONS,
|
|
TRACE,
|
|
PATCH,
|
|
INVALID
|
|
};
|
|
|
|
#ifdef DARKFLAME_PLATFORM_WIN32
|
|
#pragma pop_macro("DELETE")
|
|
#endif
|
|
|
|
#endif // __EHTTPMETHODS__H__
|