PUBLIC void flash(cchar *kind, cchar *fmt, ...) { va_list args; va_start(args, fmt); espSetFeedbackv(getStream(), kind, fmt, args); va_end(args); }
PUBLIC void espSetFeedback(HttpConn *conn, cchar *kind, cchar *fmt, ...) { va_list args; va_start(args, fmt); espSetFeedbackv(conn, kind, fmt, args); va_end(args); }
PUBLIC bool feedback(cchar *kind, cchar *fmt, ...) { va_list args; va_start(args, fmt); espSetFeedbackv(getStream(), kind, fmt, args); va_end(args); /* Return true if there is not an error feedback message */ return getFeedback("error") == 0; }