Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No File System Configuration

Code Block
const  HTTPs_CFG_FS_NONE  HTTPs_CfgFS_None = {
    256														    /* .PathLenMax */
};


Structure FieldTypeDescriptionPossible Values

PathLenMax

CPU_INT32U

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 FieldTypeDescriptionPossible Values

FS_API_Ptr

const NET_FS_API*

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 FieldTypeDescriptionPossible Values

FS_API_Ptr

const NET_FS_API*

Configure the pointer to the File System Network API object structure.MUST be a valid pointer to a NET_FS_API object.
WorkingFolderPtrCPU_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.

 

...