websGetRequestBytes | GoAhead WebServer API | GoAhead EMF |
Return the size of the web page being returned to the browser
#include "webs.h" int websGetRequestBytes(webs_t wp);
wp | Web server connection handle. |
The websGetRequestBytes procedure returns the size of the current web page being returned to the browser in bytes. This is used by handlers that need to use background copy handlers. Use websSetRequestBytes to define the byte count.
Integer containing the size of the web page in bytes. Returns zero if the size has not been defined
bytes = websGetRequestBytes(wp);