Robot
Move a little robot.
templates Struct Reference

A structure for storing data used by HTTP responses. More...

#include <lib_server.h>

Data Fields

char * favicon_data
 
char * html_template
 
size_t css_template_size
 
char * css_template
 
size_t robot_png_size
 
char * robot_png
 
size_t js_script_size
 
char * js_script
 

Detailed Description

A structure for storing data used by HTTP responses.

  • favicon_data: pointer to the base64 encoding of the favicon.
  • html_template: pointer to the format string of the HTML file.
  • css_template_size: size of the css template file.
  • css_template: pointer to the css template text.
  • robot_png_size: size of the robot PNG file.
  • robot_png: pointer to the robot PNG file binary.
  • js_script_size: size of the JavaScript file.
  • js_script: pointer to the JavaScript text.

Field Documentation

◆ css_template

char* templates::css_template

◆ css_template_size

size_t templates::css_template_size

◆ favicon_data

char* templates::favicon_data

◆ html_template

char* templates::html_template

◆ js_script

char* templates::js_script

◆ js_script_size

size_t templates::js_script_size

◆ robot_png

char* templates::robot_png

◆ robot_png_size

size_t templates::robot_png_size

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