Exemplo n.º 1
0
/*
    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);
}
Exemplo n.º 2
0
PUBLIC void setNotifier(HttpNotifier notifier)
{
    espSetNotifier(getStream(), notifier);
}