mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-08 08:54:54 +07:00
Formatted example
This commit is contained in:
@@ -13,6 +13,7 @@ Embedding Mongoose is done in two steps:
|
||||
Here's a minimal application `app.c` that embeds mongoose:
|
||||
|
||||
#include "mongoose.h"
|
||||
|
||||
int main(void) {
|
||||
struct mg_server *server = mg_create_server(NULL);
|
||||
mg_set_option(server, "document_root", "."); // Serve current directory
|
||||
|
||||
Reference in New Issue
Block a user