...
No File System Configuration
Code Block |
---|
const HTTPs_CFG_FS_NONE HTTPs_CfgFS_None = {
256 /* .PathLenMax */
}; |
Structure Field | Type | Description | Possible Values |
---|---|---|---|
|
| Configure the maximum path length for a web resource supported by the HTTP server. | Must be >= 1 |
HTTP Server Static File System Configuration
Code Block |
---|
const HTTPs_CFG_FS_STATIC HTTPs_CfgFS_Static = {
&HTTPs_FS_API_Static, /* .FS_API_Ptr */
}; |
Structure Field | Type | Description | Possible Values |
---|---|---|---|
|
| Configure the pointer to the File System Network API object structure. | MUST be a valid pointer to a NET_FS_API object. |
Dynamic File System Configuration
Code Block |
---|
const HTTPs_CFG_FS_DYN HTTPs_CfgFS_Dyn = {
&NetFS_API_FS_V4, /* .FS_API_Ptr */
HTTPs_CFG_INSTANCE_STR_FOLDER_ROOT /* .WorkingFolderPtr */
}; |
Structure Field | Type | Description | Possible Values |
---|---|---|---|
|
| Configure the pointer to the File System Network API object structure. | MUST be a valid pointer to a NET_FS_API object. |
WorkingFolderPtr | CPU_CHAR* | Pointer to the Working Folder name. Web server instance can uses a working folder where files and subfolder are located. It can be set as a null pointer (DEF_NULL), if the file system doesn't support 'set working folder' functionality but HTML documents and files must be located in the default path used by the file system. | SHOULD be a string pointer. |
...