XDK API  3.6.0
Documentation
Data Fields
RestResource_S Struct Reference

#include <SDK/xdk110/Libraries/ServalStack/3rd-party/ServalStack/api/Serval_RestServer.h>

Data Fields

retcode_t(* handle )(Msg_T *)
 
char const * interface
 
char const * type
 
char const * url
 

Detailed Description

This data structure holds the minimum data a REST resource must have.

Field Documentation

retcode_t(* handle)(Msg_T *)

A function pointer to the handler function of this resource. This handler will be invoked by the REST Server on an incoming request to the url or on sub url's of this resource.

char const* interface

A description of the interfaces this resource supports. A space has to be used to separate multiple interfaces

char const* type

A description of the types of this resource. A space has to be used to separate multiple types

char const* url

The url of the resource


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

All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:56 by doxygen 1.8.8