|
FastLED 3.9.15
|
#include <server.h>
Collaboration diagram for fl::asio::http::Request:Public Member Functions | |
| Request () FL_NOEXCEPT=default | |
| const string & | body () const |
| Get request body (for POST/PUT requests) | |
| bool | has_body () const |
| Check if request has a body. | |
| optional< string > | header (const string &name) const |
| Get header value by name (case-insensitive) | |
| const string & | http_version () const |
| Get HTTP version (e.g., "HTTP/1.1") | |
| bool | is_get () const |
| Check if request is GET. | |
| bool | is_post () const |
| Check if request is POST. | |
| const string & | method () const |
| Get HTTP method (e.g., "GET", "POST", "PUT", "DELETE") | |
| const string & | path () const |
| Get request path (e.g., "/", "/api/status") | |
| optional< string > | query (const string ¶m) const |
| Get query parameter value by name. | |
Private Attributes | |
| string | mBody |
| map< string, string > | mHeaders |
| string | mHttpVersion |
| string | mMethod |
| string | mPath |
| map< string, string > | mQuery |
Friends | |
| class | Server |