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.
HTTPDynamicPageData Class Reference
A datastorage helper for the HTTPDynamicPage class. More...
#include <HTTPDynamicPage.h>
Data Fields | |
| void(* | page_free )(void *page) |
| Pointer to garbage collection function (for freeing page data) Should be set by callback function to a suitable free() if page is dynamically allocated. | |
| char * | page |
| Pointer to the page data. | |
| int | size |
| Page data size As long as the page is NULL terminated you don't have to tell the data length. | |
| int | _left |
| Page data size left for the upload. | |
Detailed Description
A datastorage helper for the HTTPDynamicPage class.
Stores dynamically created page data and the size left to upload.
Definition at line 10 of file HTTPDynamicPage.h.
Field Documentation
| int _left |
Page data size left for the upload.
Definition at line 35 of file HTTPDynamicPage.h.
| char* page |
Pointer to the page data.
Definition at line 26 of file HTTPDynamicPage.h.
Pointer to garbage collection function (for freeing page data) Should be set by callback function to a suitable free() if page is dynamically allocated.
Definition at line 23 of file HTTPDynamicPage.h.
| int size |
Page data size As long as the page is NULL terminated you don't have to tell the data length.
But if you want to send binary data you should tell us the size.
Definition at line 32 of file HTTPDynamicPage.h.
Generated on Tue Jul 12 2022 20:39:38 by
1.7.2