LeftHookRoll
An HTTP/1.0 compliant web server, as specified by RFC1945
Loading...
Searching...
No Matches
AllowedMethods.hpp File Reference
#include <string>
Include dependency graph for AllowedMethods.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AllowedMethods
 A lightweight wrapper for a short bitmap to handle HTTP method validations securely. More...
 

Enumerations

enum  HTTPMethod { UNKNOWN_METHOD = 0 , GET = 1 << 0 , POST = 1 << 1 , DELETE = 1 << 2 }
 Represents the HTTP methods supported by the server as a bitmask. More...
 

Detailed Description

Author
Yaman Al-Rifai(you@d.nosp@m.omai.nosp@m.n.com)
Version
0.1
Date
2026-02-23

Definition in file AllowedMethods.hpp.

Enumeration Type Documentation

◆ HTTPMethod

enum HTTPMethod

Represents the HTTP methods supported by the server as a bitmask.

Enumerator
UNKNOWN_METHOD 
GET 
POST 
DELETE 

Definition at line 17 of file AllowedMethods.hpp.