2019-04-24 18:29:50 -05:00
|
|
|
/************************TRICK HEADER*************************
|
|
|
|
PURPOSE:
|
|
|
|
(HTTP Server)
|
|
|
|
LIBRARY DEPENDENCIES:
|
|
|
|
((src/http_server.cpp))
|
|
|
|
*************************************************************/
|
|
|
|
##include "mongoose_httpd/include/http_server.h"
|
|
|
|
|
|
|
|
class HttpSimObject : public Trick::SimObject {
|
|
|
|
|
|
|
|
public:
|
2019-08-16 18:39:45 -05:00
|
|
|
HTTP_Server server ;
|
2019-04-24 18:29:50 -05:00
|
|
|
|
|
|
|
HttpSimObject() {
|
2019-08-16 18:39:45 -05:00
|
|
|
("default_data") server.http_default_data() ;
|
|
|
|
("initialization") server.http_init() ;
|
|
|
|
("top_of_frame") server.http_top_of_frame() ;
|
|
|
|
("shutdown") server.http_shutdown() ;
|
2019-04-24 18:29:50 -05:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
HttpSimObject http ;
|