|
ESP32 HTTPS Server
|
Represents the request stream for an HTTP request. More...
#include <HTTPRequest.hpp>
Public Member Functions | |
| HTTPRequest (ConnectionContext *con, HTTPHeaders *headers, HTTPNode *resolvedNode, std::string method, ResourceParameters *params, std::string requestString) | |
| std::string | getHeader (std::string const &name) |
| void | setHeader (std::string const &name, std::string const &value) |
| HTTPNode * | getResolvedNode () |
| std::string | getRequestString () |
| std::string | getMethod () |
| std::string | getTag () |
| IPAddress | getClientIP () |
| size_t | readChars (char *buffer, size_t length) |
| size_t | readBytes (byte *buffer, size_t length) |
| size_t | getContentLength () |
| bool | requestComplete () |
| void | discardRequestBody () |
| ResourceParameters * | getParams () |
| HTTPHeaders * | getHTTPHeaders () |
| std::string | getBasicAuthUser () |
| std::string | getBasicAuthPassword () |
| bool | isSecure () |
| void | setWebsocketHandler (WebsocketHandler *wsHandler) |
Represents the request stream for an HTTP request.
| void httpsserver::HTTPRequest::discardRequestBody | ( | ) |
This function will drop whatever is remaining of the request body