Configuration file support #1972
-
Hi, I am looking for a webserver with configuration file support so that i am edit the config file and restarting webserver will do the changes needed, instead of rebuilding the app. Does mongoose have configuration file for handling address, port etc. Or is there a way to add one. I went through the tutorials i didn't find one. Please help me to get an answer. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Mongoose is a Network Library, you write the code for your needs. The closest to what you ask is the closest example to what you use: https://github.com/cesanta/mongoose/tree/master/examples/http-server |
Beta Was this translation helpful? Give feedback.
Mongoose is a Network Library, you write the code for your needs. The closest to what you ask is the closest example to what you use: https://github.com/cesanta/mongoose/tree/master/examples/http-server
That one parses input arguments. Again, you code what you need,