Data Fields
Webserver_Resource_S Struct Reference

#include <Serval_Webserver.h>

+ Collaboration diagram for Webserver_Resource_S:

Data Fields

char const *const contentType
 
OutMsgRecipe_T const * page
 
bool toCache
 
ContentHandle_T url
 

Detailed Description

The data structure to represent (real) website resources.

Notice that virtual URLs are supported using a different mechanism.

Field Documentation

char const* const contentType

The content type of the resource, e.g. "text/html" or "image/gif"

OutMsgRecipe_T const* page

The recipe for serializing the resource.

bool toCache

An indicator whether this resource is cacheable or not.

The URL of the resource represented as a ContentHandle which is an abstract reference to a string or file entry.


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:49 by doxygen 1.8.8