SynopsisReturn an error message to the requesting browser. Prototype#include "webs.h" void websError(webs_t wp, int code, char_t *msg, ...); Parameters
DescriptionThe websError procedure can be used to return a request response to the user's browser and then close the connection. It internally calls websDone to close the connection. You can use it as you would a printf call with a message format string. Return ValueNone ExamplewebsError(wp, 200, "Can't open %s", filename); Stability ClassificationStable. See Also |