flatten 20260225
This commit is contained in:
21
tjp/core/http/Method.h
Executable file
21
tjp/core/http/Method.h
Executable file
@@ -0,0 +1,21 @@
|
||||
// TJP COPYRIGHT HEADER
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <tjp/core/string/String.h>
|
||||
|
||||
namespace tjp::core::http {
|
||||
|
||||
using Method = String;
|
||||
|
||||
struct method
|
||||
{
|
||||
static constexpr auto GET = "GET";
|
||||
static constexpr auto PUT = "PUT";
|
||||
static constexpr auto POST = "POST";
|
||||
static constexpr auto HEAD = "HEAD";
|
||||
static constexpr auto INFO = "INFO";
|
||||
static constexpr auto OPTIONS = "OPTIONS";
|
||||
} ;
|
||||
|
||||
} // namespace
|
||||
Reference in New Issue
Block a user