Embedded TCP/IP stack  4.7.0
fnet_http_srv_params_t Struct Reference

Input parameters for fnet_http_srv_init(). More...

Data Fields

fnet_char_t * root_path
 Server root-directory path (null-terminated string). More...
 
fnet_char_t * index_path
 Index file path (null-terminated string).
It's relative to the root_path. More...
 
struct fnet_sockaddr address
 Server socket address.
If server IP address and Scope ID are set to 0s, the server will listen to all current network interfaces.
If server address family is set to 0, it will be assigned to AF_SUPPORTED.
If server port number is set to 0, it will be assigned to the default port number defined by FNET_CFG_HTTP_SRV_PORT. More...
 
const fnet_http_srv_ssi_t * ssi_table
 Pointer to the optional SSI callback function table. More...
 
const fnet_http_srv_cgi_t * cgi_table
 Pointer to the optional CGI callback function table. More...
 
const fnet_http_srv_auth_t * auth_table
 Pointer to the optional HTTP Access Authentification table. More...
 
const fnet_http_srv_post_t * post_table
 Pointer to the optional POST callback function table. More...
 
fnet_http_srv_tls_params_t * tls_params
 Pointer to the optional HTTP over TLS (HTTPS) parameters. More...
 

Detailed Description

Input parameters for fnet_http_srv_init().

Definition at line 197 of file fnet_http_srv.h.


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

© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net