Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EthernetInterface mbed-rpc mbed-rtos mbed
Fork of HTTP-Server by
Formatter.h
00001 #ifndef FORMATTER 00002 #define FORMATTER 00003 00004 00005 class Formatter 00006 { 00007 public : 00008 00009 Formatter(int nbChunk = 1); 00010 00011 char* get_page(char *reply); 00012 00013 protected : 00014 00015 virtual void get_chunk(const int c, char *reply); 00016 00017 private : 00018 00019 int currentChunk; 00020 int nbChunk; 00021 }; 00022 00023 class SimpleHTMLFormatter : public Formatter 00024 { 00025 public : 00026 00027 SimpleHTMLFormatter(); 00028 00029 protected : 00030 00031 virtual void get_chunk(const int c, char *reply); 00032 00033 }; 00034 00035 class InteractiveHTMLFormatter : public Formatter 00036 { 00037 public : 00038 00039 InteractiveHTMLFormatter(); 00040 00041 protected : 00042 00043 virtual void get_chunk(const int c, char *reply); 00044 }; 00045 00046 00047 #endif 00048
Generated on Thu Jul 14 2022 01:35:56 by
1.7.2
