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:

This documentation file has been automatically generated on Wed May 6 2020 20:45:26 by doxygen 1.8.8