Http request received from a client. More...
#include <HttpServer.h>
Public Member Functions | |
| bool | find (HttpParser::Token token, StringSpan &res) const |
| Finds a specific HttpParser::Result in the list of parsed header. | |
| const HttpParser & | getParser () const |
| Gets the associated HttpParser. | |
| StringSpan | getURL () const |
| Gets the request URL. | |
Friends | |
| struct | HttpServer |
Http request received from a client.
|
nodiscard |
Finds a specific HttpParser::Result in the list of parsed header.
| token | The result to look for (Method, Url etc.) |
| res | A StringSpan, pointing at headerBuffer containing the found result |
true if the result has been found
|
inline |
Gets the associated HttpParser.
|
inline |
Gets the request URL.