Soletta™ Framework
Framework for making IoT devices

Full online documentation | C API Index
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
sol_http_server_config Struct Reference

It's created with sol_http_server_new() and should be later deleted with sol_http_server_del() More...

#include <sol-http-server.h>

Data Fields

uint16_t api_version
 must match SOL_HTTP_SERVER_CONFIG_API_VERSION at runtime. More...
 
uint16_t port
 
struct {
   const struct sol_cert *   cert
 
   const struct sol_cert *   key
 
security
 

Detailed Description

It's created with sol_http_server_new() and should be later deleted with sol_http_server_del()

Examples:
/src/samples/http/server-https.c, /src/samples/http/server-sse.c, /src/samples/http/server.c, and /src/samples/http/static-files.c.

Field Documentation

uint16_t sol_http_server_config::api_version

must match SOL_HTTP_SERVER_CONFIG_API_VERSION at runtime.

const struct sol_cert* sol_http_server_config::cert
const struct sol_cert* sol_http_server_config::key
uint16_t sol_http_server_config::port
struct { ... } sol_http_server_config::security

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