Logo Pico-Framework A web-first embedded framework for C++
Loading...
Searching...
No Matches
HttpRequest.cpp File Reference

Implementation of the HttpRequest class for parsing HTTP requests. More...

#include "framework_config.h"
#include "DebugTrace.h"
#include "http/HttpRequest.h"
#include <sstream>
#include <algorithm>
#include <cctype>
#include <iostream>
#include <cstring>
#include <cstdio>
#include <unordered_map>
#include "pico/stdlib.h"
#include "http/HttpServer.h"
#include "utility/utility.h"
#include "http/MultipartParser.h"
#include "http/url_utils.h"
#include "http/HttpParser.h"
#include "network/Tcp.h"
+ Include dependency graph for HttpRequest.cpp:

Go to the source code of this file.

Macros

#define BUFFER_SIZE   256
 

Variables

constexpr size_t MAX_HEADER_BYTES = 4096
 

Detailed Description

Author
Ian Archbell

Part of the PicoFramework HTTP server. This module handles parsing the HTTP request line, headers, and body. It also provides methods to access request parameters, cookies, and multipart data. It uses the MultipartParser for handling multipart/form-data requests.

Version
0.1
Date
2025-03-26
License:\n MIT License

Definition in file HttpRequest.cpp.

Macro Definition Documentation

◆ BUFFER_SIZE

#define BUFFER_SIZE   256

Definition at line 44 of file HttpRequest.cpp.

Variable Documentation

◆ MAX_HEADER_BYTES

constexpr size_t MAX_HEADER_BYTES = 4096
constexpr

Definition at line 178 of file HttpRequest.cpp.

Referenced by HttpRequest::receiveUntilHeadersComplete().