websDone | GoAhead WebServer API | GoAhead EMF |
Close the connection to the browser when completing a Form request
#include "webs.h"; void websDone(webs_t wp, int code);
wp | Web server handle to the browser connection |
code | HTTP completion code |
The websDone procedure is called by Form procedures when completing processing. websDone closes the browser connection and frees all connection resources. websDone must only be called once per browser connection.
The code parameter is a standard HTTP response code. Some of the more common codes include:
None
websDone(wp, 200);