|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
Representation of a static filesystem server resource. More...
#include <zephyr/net/http/server.h>
Data Fields | |
| struct http_resource_detail | common |
| Common resource details. | |
| const char * | fs_path |
| Path in the local filesystem. | |
| const char * | fallback_file |
| File under fs_path served instead of a 404 when the requested file does not exist and the last segment of the path has no file extension, for example the entry page of a single-page application. | |
Representation of a static filesystem server resource.
| struct http_resource_detail http_resource_detail_static_fs::common |
Common resource details.
| const char* http_resource_detail_static_fs::fallback_file |
File under fs_path served instead of a 404 when the requested file does not exist and the last segment of the path has no file extension, for example the entry page of a single-page application.
NULL answers 404.
| const char* http_resource_detail_static_fs::fs_path |
Path in the local filesystem.