Options controlling optional HttpAsyncFileServer semantics. More...
#include <HttpAsyncFileServer.h>
Public Attributes | |
| StringSpan | spaFallbackPath = {} |
| Optional SPA fallback path. The StringSpan must outlive the file server. | |
| bool | enableValidators = true |
| Enables Last-Modified / ETag validators (default: true). | |
| bool | enableRangeRequests = true |
| Enables byte range requests once supported (default: true). | |
| bool | enableUploads = true |
| Enables PUT/POST uploads (default: true). | |
| size_t | maxUploadBytes = 0 |
| Rejects Content-Length uploads larger than this value. Zero means unlimited. | |
Options controlling optional HttpAsyncFileServer semantics.
| bool SC::HttpAsyncFileServerOptions::enableRangeRequests = true |
Enables byte range requests once supported (default: true).
| bool SC::HttpAsyncFileServerOptions::enableUploads = true |
Enables PUT/POST uploads (default: true).
| bool SC::HttpAsyncFileServerOptions::enableValidators = true |
Enables Last-Modified / ETag validators (default: true).
| size_t SC::HttpAsyncFileServerOptions::maxUploadBytes = 0 |
Rejects Content-Length uploads larger than this value. Zero means unlimited.
| StringSpan SC::HttpAsyncFileServerOptions::spaFallbackPath = {} |
Optional SPA fallback path. The StringSpan must outlive the file server.