Morse Micro IoT SDK  2.9.7
rest_endpoint Struct Reference

Detailed Description

A REST endpoint.

Definition at line 28 of file restfs.h.

#include <restfs.h>

Data Fields

char * uri
 URI of endpoint. More...
 
rest_endpoint_handler_t user_function
 User defined function to call when this endpoint is requested by a client. More...
 

Field Documentation

◆ uri

char* rest_endpoint::uri

URI of endpoint.

Definition at line 30 of file restfs.h.

◆ user_function

rest_endpoint_handler_t rest_endpoint::user_function

User defined function to call when this endpoint is requested by a client.

Definition at line 32 of file restfs.h.


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