Implementation of file serving and directory listing over HTTP. More...
#include "http/HttpFileserver.h"
#include "framework_config.h"
#include "DebugTrace.h"
#include <string>
#include <vector>
#include <cstdio>
#include <cstring>
#include <lwip/sockets.h>
#include <unordered_map>
#include <FreeRTOS.h>
#include <task.h>
#include "framework/AppContext.h"
#include "utility/utility.h"
#include "http/url_utils.h"
#include "storage/StorageManager.h"
#include "http/JsonResponse.h"
Go to the source code of this file.
Macros | |
#define | TRACE_ON |
Functions | |
bool | ends_with (const std::string &str, const std::string &suffix) |
Part of the PicoFramework HTTP server. This module handles serving files from the SD card and listing directory contents. It uses the FatFsStorageManager to interact with the filesystem.
Definition in file HttpFileserver.cpp.
#define TRACE_ON |
Definition at line 41 of file HttpFileserver.cpp.
bool ends_with | ( | const std::string & | str, |
const std::string & | suffix | ||
) |
Definition at line 195 of file HttpFileserver.cpp.