{WebApp}
Web server application based on nng_http_* inspired by Flask
Methods
- constructor, parameters:
-- server name to identify instance
-- server url (http or https)
-- json config or WebAppConfig object, attributes
-- handler: - pointer to void function(WebData*, WebData*, void*);
-- methods: array of ['GET','POST','PUT','DELETE',...] http methods to be accepted
Handler should check the WebData request object and fill the WebData reply object
{WebApp} Web server application based on nng_http_* inspired by Flask Methods - constructor, parameters: -- server name to identify instance -- server url (http or https) -- json config or WebAppConfig object, attributes
-- handler: - pointer to void function(WebData*, WebData*, void*); -- methods: array of ['GET','POST','PUT','DELETE',...] http methods to be accepted Handler should check the WebData request object and fill the WebData reply object