Function Prototypes:ttHttpdUserEventHandler

Jump to: navigation, search

Table of Contents >> Application Reference >> Web Server


void ttHttpdUserEventHandler (
ttHttpdUserConHandle userConHandle,
ttHttpdUserEvent event
);


Function Description

This function is defined by the user and called by the Treck Web Server to process HTTP events.


Parameters

  • userConHandle
    User Web Server connection handle
  • event
    One of the following events:
TM_HTTPD_EVENT_CON_OPENED
TM_HTTPD_EVENT_CON_CLOSE
TM_HTTPD_EVENT_SEND_READY
TM_HTTPD_EVENT_METHOD_LINE_RECV
TM_HTTPD_EVENT_HEADERS_RECV
TM_HTTPD_EVENT_BODY_RECV
TM_HTTPD_EVENT_ALL_RECV


Table of Contents >> Application Reference >> Web Server