websDone | GoAhead WebServer API | GoAhead EMF
## Synopsis Close the connection to the browser when completing a Form request. ## Prototype
     #include "webs.h"

     void websDone(webs_t wp, int code);
## Parameters
wp | Web server handle to the browser connection.
code | HTTP completion code.
## Description The websDone procedure is called by Form procedures when completing processing. websDone closes the browser connection and frees all connection resources. websDone must be called only once per browser connection. The code parameter is a standard HTTP response code. Some of the more common codes include: 200 "Data follows" 204 "No Content" 301 "Redirect" 302 "Redirect" 304 "User local copy" 400 "Page not found" 401 "Password Required" 404 "Site or Page Not Found" 405 "Access Denied" 500 "Web Error" 503 "Site Temporarily Unavailable. Try again" ## Return Value None ## Example
    websDone(wp, 200);
## Stability Classification Stable. ## See Also websWrite