Data Fields
RestSettings_S Struct Reference

#include <Serval_RestServer.h>

+ Collaboration diagram for RestSettings_S:

Data Fields

uint8_t __pad0__:6
 
HttpRealm_T const ** authTable
 
Ip_Port_T coapPort
 
bool coapServiceEnabled:1
 
Ip_Port_T httpPort
 
bool httpServiceEnabled:1
 
RestServer_TraversalFunc_T traverse
 

Detailed Description

This data structure holds the data related to an application service

Field Documentation

uint8_t __pad0__
HttpRealm_T const** authTable

The authentication table which will be used by the service to authenticate HTTP requests

Ip_Port_T coapPort

The port number the service will listen on for CoAP requests

bool coapServiceEnabled

This flag defines if the service should be accessible via CoAP

Ip_Port_T httpPort

The port number the service will listen on for HTTP requests

bool httpServiceEnabled

This flag defines if the service should be accessible via HTTP

This is a function pointer to a traversal function of the RESTful resources.

See also
RestServer_TraversalFunc_T

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

This documentation file has been automatically generated on Fri Oct 4 2019 03:47:48 by doxygen 1.8.8