![]() |
WL865E4-P
36.07.001
|
HTTP server configuration structure. More...
#include <m2mb_httpd.h>
HTTP server configuration structure.
Structure for storing HTTP server configuration. User will fill this structure and give as input to m2mb_httpd_init API to initialize the HTTP server.
Definition at line 135 of file m2mb_httpd.h.
CHAR cert_File[M2MB_HTTPD_PATH_MAX] |
Server's certificate name, e.g., ca.cert.bin.
Definition at line 158 of file m2mb_httpd.h.
UINT8 family |
Run in IPv4 only (AF_INET), IPv6 only (AF_INET6), or both (AF_INET_DUAL46).
Definition at line 161 of file m2mb_httpd.h.
UINT16 http_Port |
Listening port of the HTTP server. If 0, the server will listen on port 80.
Definition at line 144 of file m2mb_httpd.h.
UINT16 https_Port |
Listening port of the HTTPS server. If 0, the server will listen on port 443.
Definition at line 147 of file m2mb_httpd.h.
CHAR interface_Name[8] |
Network interface to bind, e.g., wlan1. If not specified, the server will bind to every network interface.
Definition at line 137 of file m2mb_httpd.h.
M2MB_HTTPD_MODE_E mode |
Supports (nonsecure) HTTP only, HTTPS only, or both.
Definition at line 141 of file m2mb_httpd.h.
UINT8* password |
This is not set and username authentication is enable, default value is "admin"
Definition at line 186 of file m2mb_httpd.h.
CHAR root_Index_Page[M2MB_HTTPD_PATH_MAX] |
Landing page if abs_path of URI is empty, or '/'. If not specified, the default page is index.iws.
Definition at line 150 of file m2mb_httpd.h.
CHAR root_Path[M2MB_HTTPD_PATH_MAX] |
Root directory of the local file system where all web pages are located. If not specified, the default path is /web/.
Definition at line 154 of file m2mb_httpd.h.
UINT16 rxbufsize |
Size in bytes of the receive buffer, if allocated. If 0, the server will use default size = 1024.
Definition at line 172 of file m2mb_httpd.h.
CHAR* server_Name |
Value in the server response header field. If NULL, the default is Telit WebServer 1.0.
Definition at line 164 of file m2mb_httpd.h.
UINT16 txbufsize |
Size in bytes of the transmit buffer, if allocated. If 0, the server will use default size = 2048.
Definition at line 176 of file m2mb_httpd.h.
UINT8* username |
This is not set and username authentication is enable, default value is "admin"
Definition at line 183 of file m2mb_httpd.h.
UINT8 username_auth |
Set it to 1 to enable username authentication, else set it to 0
Definition at line 180 of file m2mb_httpd.h.
VOID(* webfiles_Setup) (void) |
User function to set up WEB pages stored in the Virtual File System (VFS). If the VFS is used, this function can be generated by the VFS compiler. If the VFS is not used, this field should be set to NULL.
Definition at line 167 of file m2mb_httpd.h.