Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
http_resource_detail_static_fs Struct Reference

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.

Detailed Description

Representation of a static filesystem server resource.

Field Documentation

◆ common

struct http_resource_detail http_resource_detail_static_fs::common

Common resource details.

◆ fallback_file

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.

◆ fs_path

const char* http_resource_detail_static_fs::fs_path

Path in the local filesystem.


The documentation for this struct was generated from the following file: