/* Action to run in response to the "test/echo" URI */ static void echo_action() { /* Don't automatically finalize (complete) the request when this routine returns. This keeps the connection open. */ dontAutoFinalize(); /* Establish the event callback */ espSetNotifier(getConn(), echo_callback); }
PUBLIC void setNotifier(HttpNotifier notifier) { espSetNotifier(getStream(), notifier); }