diff --git a/examples/captive-dns-server/Makefile b/examples/captive-dns-server/Makefile index 68fd0420..898b55d0 100644 --- a/examples/captive-dns-server/Makefile +++ b/examples/captive-dns-server/Makefile @@ -1,28 +1,25 @@ +PROG ?= example # Program we are building +DELETE = rm -rf # Command to remove files +OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c mongoose.c # Source code files CFLAGS = -W -Wall -Wextra -g -I. # Build options # Mongoose build options. See https://mongoose.ws/documentation/#build-options CFLAGS_MONGOOSE += -DMG_IO_SIZE=8192 -DMG_ENABLE_LINES -ifeq ($(OS),Windows_NT) - # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe +ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe PROG ?= example.exe # Use .exe suffix for the binary CC = gcc # Use MinGW gcc compiler CFLAGS += -lws2_32 # Link against Winsock library DELETE = cmd /C del /Q /F /S # Command prompt command to delete files OUT ?= -o $(PROG) # Build output -else - # Mac, Linux - PROG ?= example - DELETE = rm -rf - OUT ?= -o $(PROG) endif -all: $(PROG) +all: $(PROG) # Default target. Build and run program $(RUN) ./$(PROG) $(ARGS) -$(PROG): $(SOURCES) +$(PROG): $(SOURCES) # Build program from sources $(CC) $(SOURCES) $(CFLAGS) $(CFLAGS_MONGOOSE) $(CFLAGS_EXTRA) $(OUT) -clean: +clean: # Cleanup. Delete built program and all build artifacts $(DELETE) $(PROG) *.o *.obj *.exe *.dSYM diff --git a/examples/device-dashboard/Makefile b/examples/device-dashboard/Makefile index 0ae50778..a20bbd01 100644 --- a/examples/device-dashboard/Makefile +++ b/examples/device-dashboard/Makefile @@ -1,24 +1,22 @@ -SOURCES = mongoose.c main.c net.c packed_fs.c # Source code files -CFLAGS = -W -Wall -Wextra -g -I. # Build options +PROG ?= example # Program we are building +DELETE = rm -rf # Command to remove files +OUT ?= -o $(PROG) # Compiler argument for output file +SOURCES = main.c mongoose.c net.c packed_fs.c # Source code files +CFLAGS = -W -Wall -Wextra -g -I. # Build options # Mongoose build options. See https://mongoose.ws/documentation/#build-options CFLAGS_MONGOOSE += -DMG_ENABLE_PACKED_FS=1 -ifeq ($(OS),Windows_NT) - # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe +ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe PROG ?= example.exe # Use .exe suffix for the binary CC = gcc # Use MinGW gcc compiler CFLAGS += -lws2_32 # Link against Winsock library DELETE = cmd /C del /Q /F /S # Command prompt command to delete files OUT ?= -o $(PROG) # Build output -else - # Mac, Linux - PROG ?= example - DELETE = rm -rf - OUT ?= -o $(PROG) + MAKE += WINDOWS=1 CC=$(CC) endif -all: $(PROG) +all: $(PROG) # Default target. Build and run program $(RUN) ./$(PROG) $(ARGS) ifneq ($(OS),Windows_NT) @@ -30,8 +28,14 @@ packed_fs.c: $(shell find web_root -type f) Makefile cd tmp && ../pack `find web_root -type f` > ../$@ endif -$(PROG): $(SOURCES) +$(PROG): $(SOURCES) # Build program from sources $(CC) $(SOURCES) $(CFLAGS) $(CFLAGS_MONGOOSE) $(CFLAGS_EXTRA) $(OUT) -clean: - $(DELETE) $(PROG) *.o *.obj *.exe *.dSYM pack tmp +clean: # Cleanup. Delete built program and all build artifacts + $(DELETE) $(PROG) *.o *.obj *.exe *.dSYM pack tmp mbedtls + +# see https://mongoose.ws/tutorials/tls/#how-to-build for TLS build options + +mbedtls: # Pull and build mbedTLS library + git clone --depth 1 -b v2.28.2 https://github.com/mbed-tls/mbedtls $@ + $(MAKE) -C mbedtls/library diff --git a/examples/embedded-filesystem/Makefile b/examples/embedded-filesystem/Makefile index cce143ec..11378320 100644 --- a/examples/embedded-filesystem/Makefile +++ b/examples/embedded-filesystem/Makefile @@ -1,41 +1,38 @@ -SOURCES = mongoose.c main.c packed_fs.c # Source code files -CFLAGS = -W -Wall -Wextra -g -I. # Build options +PROG ?= example # Program we are building +DELETE = rm -rf # Command to remove files +OUT ?= -o $(PROG) # Compiler argument for output file +SOURCES = main.c mongoose.c packed_fs.c # Source code files +CFLAGS = -W -Wall -Wextra -g -I. # Build options +PACK = ./pack # Utility to pack files into a packed filesystem # Mongoose build options. See https://mongoose.ws/documentation/#build-options CFLAGS_MONGOOSE += -DMG_ENABLE_PACKED_FS=1 FILES_TO_EMBED ?= $(wildcard web_root/*) -ifeq ($(OS),Windows_NT) - # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe +ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe PROG ?= example.exe # Use .exe suffix for the binary CC = gcc # Use MinGW gcc compiler CFLAGS += -lws2_32 # Link against Winsock library DELETE = cmd /C del /Q /F /S # Command prompt command to delete files OUT ?= -o $(PROG) # Build output PACK = pack.exe -else - # Mac, Linux - PROG ?= example - DELETE = rm -rf - OUT ?= -o $(PROG) - PACK = ./pack endif -all: $(PROG) +all: $(PROG) # Default target. Build and run program $(RUN) ./$(PROG) $(ARGS) -$(PROG): $(SOURCES) $(FILES_TO_EMBED) +$(PROG): $(SOURCES) $(FILES_TO_EMBED) # Build program from sources $(CC) ../../test/pack.c -o $(PACK) $(PACK) $(FILES_TO_EMBED) > packed_fs.c $(CC) $(SOURCES) $(CFLAGS) $(CFLAGS_MONGOOSE) $(CFLAGS_EXTRA) $(OUT) -clean: +clean: # Cleanup. Delete built program and all build artifacts $(DELETE) $(PROG) *.dSYM $(PACK) .PHONY: compress expand gzipped plain all -# See tutorial +# See tutorial at https://mongoose.ws/tutorials/embedded-filesystem/#build-and-try gzipped: compress $(MAKE) all diff --git a/examples/file-upload-html-form/Makefile b/examples/file-upload-html-form/Makefile index eaa5aa25..a990a02a 100644 --- a/examples/file-upload-html-form/Makefile +++ b/examples/file-upload-html-form/Makefile @@ -1,10 +1,25 @@ -PROG ?= example +PROG ?= example # Program we are building +DELETE = rm -rf # Command to remove files +OUT ?= -o $(PROG) # Compiler argument for output file +SOURCES = main.c mongoose.c # Source code files +CFLAGS = -W -Wall -Wextra -g -I. # Build options -all: $(PROG) - $(DEBUGGER) ./$(PROG) +# Mongoose build options. See https://mongoose.ws/documentation/#build-options +#CFLAGS_MONGOOSE += -DMG_ENABLE_LINES -$(PROG): - $(CC) ../../mongoose.c -I../.. $(CFLAGS) $(EXTRA) -o $(PROG) main.c +ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe + PROG ?= example.exe # Use .exe suffix for the binary + CC = gcc # Use MinGW gcc compiler + CFLAGS += -lws2_32 # Link against Winsock library + DELETE = cmd /C del /Q /F /S # Command prompt command to delete files + OUT ?= -o $(PROG) # Build output +endif -clean: - rm -rf $(PROG) *.o *.dSYM *.gcov *.gcno *.gcda *.obj *.exe *.ilk *.pdb log.txt +all: $(PROG) # Default target. Build and run program + $(RUN) ./$(PROG) $(ARGS) + +$(PROG): $(SOURCES) # Build program from sources + $(CC) $(SOURCES) $(CFLAGS) $(CFLAGS_MONGOOSE) $(CFLAGS_EXTRA) $(OUT) + +clean: # Cleanup. Delete built program and all build artifacts + $(DELETE) $(PROG) *.o *.obj *.exe *.dSYM diff --git a/examples/file-upload-html-form/main.c b/examples/file-upload-html-form/main.c index ec243929..8fa06e20 100644 --- a/examples/file-upload-html-form/main.c +++ b/examples/file-upload-html-form/main.c @@ -35,6 +35,7 @@ static void cb(struct mg_connection *c, int ev, void *ev_data, void *fn_data) { mg_http_serve_dir(c, ev_data, &opts); } } + (void) fn_data; } int main(void) { diff --git a/examples/file-upload-html-form/mongoose.c b/examples/file-upload-html-form/mongoose.c new file mode 120000 index 00000000..8ef6e62d --- /dev/null +++ b/examples/file-upload-html-form/mongoose.c @@ -0,0 +1 @@ +../../mongoose.c \ No newline at end of file diff --git a/examples/file-upload-html-form/mongoose.h b/examples/file-upload-html-form/mongoose.h new file mode 120000 index 00000000..488ef358 --- /dev/null +++ b/examples/file-upload-html-form/mongoose.h @@ -0,0 +1 @@ +../../mongoose.h \ No newline at end of file diff --git a/examples/file-upload-multiple-posts/Makefile b/examples/file-upload-multiple-posts/Makefile index eaa5aa25..a990a02a 100644 --- a/examples/file-upload-multiple-posts/Makefile +++ b/examples/file-upload-multiple-posts/Makefile @@ -1,10 +1,25 @@ -PROG ?= example +PROG ?= example # Program we are building +DELETE = rm -rf # Command to remove files +OUT ?= -o $(PROG) # Compiler argument for output file +SOURCES = main.c mongoose.c # Source code files +CFLAGS = -W -Wall -Wextra -g -I. # Build options -all: $(PROG) - $(DEBUGGER) ./$(PROG) +# Mongoose build options. See https://mongoose.ws/documentation/#build-options +#CFLAGS_MONGOOSE += -DMG_ENABLE_LINES -$(PROG): - $(CC) ../../mongoose.c -I../.. $(CFLAGS) $(EXTRA) -o $(PROG) main.c +ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe + PROG ?= example.exe # Use .exe suffix for the binary + CC = gcc # Use MinGW gcc compiler + CFLAGS += -lws2_32 # Link against Winsock library + DELETE = cmd /C del /Q /F /S # Command prompt command to delete files + OUT ?= -o $(PROG) # Build output +endif -clean: - rm -rf $(PROG) *.o *.dSYM *.gcov *.gcno *.gcda *.obj *.exe *.ilk *.pdb log.txt +all: $(PROG) # Default target. Build and run program + $(RUN) ./$(PROG) $(ARGS) + +$(PROG): $(SOURCES) # Build program from sources + $(CC) $(SOURCES) $(CFLAGS) $(CFLAGS_MONGOOSE) $(CFLAGS_EXTRA) $(OUT) + +clean: # Cleanup. Delete built program and all build artifacts + $(DELETE) $(PROG) *.o *.obj *.exe *.dSYM diff --git a/examples/file-upload-multiple-posts/main.c b/examples/file-upload-multiple-posts/main.c index 5476c466..dd38249e 100644 --- a/examples/file-upload-multiple-posts/main.c +++ b/examples/file-upload-multiple-posts/main.c @@ -23,11 +23,11 @@ static void cb(struct mg_connection *c, int ev, void *ev_data, void *fn_data) { mg_http_serve_dir(c, ev_data, &opts); } } + (void) fn_data; } int main(void) { struct mg_mgr mgr; - struct mg_timer t1; mg_mgr_init(&mgr); mg_log_set(MG_LL_DEBUG); // Set log level diff --git a/examples/file-upload-multiple-posts/mongoose.c b/examples/file-upload-multiple-posts/mongoose.c new file mode 120000 index 00000000..8ef6e62d --- /dev/null +++ b/examples/file-upload-multiple-posts/mongoose.c @@ -0,0 +1 @@ +../../mongoose.c \ No newline at end of file diff --git a/examples/file-upload-multiple-posts/mongoose.h b/examples/file-upload-multiple-posts/mongoose.h new file mode 120000 index 00000000..488ef358 --- /dev/null +++ b/examples/file-upload-multiple-posts/mongoose.h @@ -0,0 +1 @@ +../../mongoose.h \ No newline at end of file diff --git a/examples/file-upload-single-post/Makefile b/examples/file-upload-single-post/Makefile index eaa5aa25..a990a02a 100644 --- a/examples/file-upload-single-post/Makefile +++ b/examples/file-upload-single-post/Makefile @@ -1,10 +1,25 @@ -PROG ?= example +PROG ?= example # Program we are building +DELETE = rm -rf # Command to remove files +OUT ?= -o $(PROG) # Compiler argument for output file +SOURCES = main.c mongoose.c # Source code files +CFLAGS = -W -Wall -Wextra -g -I. # Build options -all: $(PROG) - $(DEBUGGER) ./$(PROG) +# Mongoose build options. See https://mongoose.ws/documentation/#build-options +#CFLAGS_MONGOOSE += -DMG_ENABLE_LINES -$(PROG): - $(CC) ../../mongoose.c -I../.. $(CFLAGS) $(EXTRA) -o $(PROG) main.c +ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe + PROG ?= example.exe # Use .exe suffix for the binary + CC = gcc # Use MinGW gcc compiler + CFLAGS += -lws2_32 # Link against Winsock library + DELETE = cmd /C del /Q /F /S # Command prompt command to delete files + OUT ?= -o $(PROG) # Build output +endif -clean: - rm -rf $(PROG) *.o *.dSYM *.gcov *.gcno *.gcda *.obj *.exe *.ilk *.pdb log.txt +all: $(PROG) # Default target. Build and run program + $(RUN) ./$(PROG) $(ARGS) + +$(PROG): $(SOURCES) # Build program from sources + $(CC) $(SOURCES) $(CFLAGS) $(CFLAGS_MONGOOSE) $(CFLAGS_EXTRA) $(OUT) + +clean: # Cleanup. Delete built program and all build artifacts + $(DELETE) $(PROG) *.o *.obj *.exe *.dSYM diff --git a/examples/file-upload-single-post/main.c b/examples/file-upload-single-post/main.c index 2b5514e9..1c462cc4 100644 --- a/examples/file-upload-single-post/main.c +++ b/examples/file-upload-single-post/main.c @@ -26,6 +26,7 @@ static void cb(struct mg_connection *c, int ev, void *ev_data, void *fn_data) { struct mg_http_serve_opts opts = {.root_dir = "web_root"}; mg_http_serve_dir(c, hm, &opts); } + (void) fn_data; } int main(void) { diff --git a/examples/file-upload-single-post/mongoose.c b/examples/file-upload-single-post/mongoose.c new file mode 120000 index 00000000..8ef6e62d --- /dev/null +++ b/examples/file-upload-single-post/mongoose.c @@ -0,0 +1 @@ +../../mongoose.c \ No newline at end of file diff --git a/examples/file-upload-single-post/mongoose.h b/examples/file-upload-single-post/mongoose.h new file mode 120000 index 00000000..488ef358 --- /dev/null +++ b/examples/file-upload-single-post/mongoose.h @@ -0,0 +1 @@ +../../mongoose.h \ No newline at end of file diff --git a/examples/http-proxy-client/README.md b/examples/http-proxy-client/README.md new file mode 100644 index 00000000..b590977a --- /dev/null +++ b/examples/http-proxy-client/README.md @@ -0,0 +1 @@ +See detailed tutorial at https://mongoose.ws/tutorials/http-proxy-client/ diff --git a/examples/http-proxy-client/main.c b/examples/http-proxy-client/main.c index b8df7eab..1d80fa1b 100644 --- a/examples/http-proxy-client/main.c +++ b/examples/http-proxy-client/main.c @@ -5,7 +5,7 @@ // make // ./example PROXY:PORT http://www.ladyada.net // -// To enable SSL/TLS, make SSL=OPENSSL or make SSL=MBEDTLS +// To enable SSL/TLS, see https://mongoose.ws/tutorials/tls/#how-to-build // #include "mongoose.h" diff --git a/examples/http-proxy-client/mongoose.c b/examples/http-proxy-client/mongoose.c new file mode 120000 index 00000000..8ef6e62d --- /dev/null +++ b/examples/http-proxy-client/mongoose.c @@ -0,0 +1 @@ +../../mongoose.c \ No newline at end of file diff --git a/examples/http-proxy-client/mongoose.h b/examples/http-proxy-client/mongoose.h new file mode 120000 index 00000000..488ef358 --- /dev/null +++ b/examples/http-proxy-client/mongoose.h @@ -0,0 +1 @@ +../../mongoose.h \ No newline at end of file diff --git a/examples/http-restful-server/README.md b/examples/http-restful-server/README.md new file mode 100644 index 00000000..27450eff --- /dev/null +++ b/examples/http-restful-server/README.md @@ -0,0 +1 @@ +See detailed tutorial at https://mongoose.ws/tutorials/http-server/ diff --git a/examples/http-restful-server/main.c b/examples/http-restful-server/main.c index af67a9bd..3fba2afb 100644 --- a/examples/http-restful-server/main.c +++ b/examples/http-restful-server/main.c @@ -9,7 +9,7 @@ // any other URI serves static files from s_root_dir // // To enable SSL/TLS (using self-signed certificates in PEM files), -// 1. make SSL=OPENSSL or make SSL=MBEDTLS +// 1. See https://mongoose.ws/tutorials/tls/#how-to-build // 2. curl -k https://127.0.0.1:8443 #include "mongoose.h" diff --git a/examples/http-reverse-proxy/README.md b/examples/http-reverse-proxy/README.md new file mode 100644 index 00000000..fd4962fe --- /dev/null +++ b/examples/http-reverse-proxy/README.md @@ -0,0 +1 @@ +See detailed tutorial at https://mongoose.ws/tutorials/http-reverse-proxy/ diff --git a/examples/http-reverse-proxy/main.c b/examples/http-reverse-proxy/main.c index ce65fe26..8d4511b7 100644 --- a/examples/http-reverse-proxy/main.c +++ b/examples/http-reverse-proxy/main.c @@ -5,7 +5,7 @@ // 1. Run `make`. This builds and starts a proxy on port 8000 // 2. Start your browser, go to https://localhost:8000 // -// To enable SSL/TLS, add SSL=OPENSSL or SSL=MBEDTLS +// To enable SSL/TLS, see https://mongoose.ws/tutorials/tls/#how-to-build static const char *s_backend_url = #if defined(MG_ENABLE_MBEDTLS) || defined(MG_ENABLE_OPENSSL) diff --git a/examples/http-streaming-client/main.c b/examples/http-streaming-client/main.c index e4a0e00f..51b4efb4 100644 --- a/examples/http-streaming-client/main.c +++ b/examples/http-streaming-client/main.c @@ -9,9 +9,7 @@ // // You can change `s_url` from the command line by executing: ./example YOUR_URL // -// To enable SSL/TLS for this client, build it like this: -// make MBEDTLS=/path/to/your/mbedtls/installation -// make OPENSSL=/path/to/your/openssl/installation +// To enable SSL/TLS, see https://mongoose.ws/tutorials/tls/#how-to-build #include "mongoose.h" diff --git a/examples/huge-response/README.md b/examples/huge-response/README.md new file mode 100644 index 00000000..84c2fafe --- /dev/null +++ b/examples/huge-response/README.md @@ -0,0 +1 @@ +See detailed tutorial at https://mongoose.ws/tutorials/huge-response/ diff --git a/examples/live-log/README.md b/examples/live-log/README.md new file mode 100644 index 00000000..8fec5187 --- /dev/null +++ b/examples/live-log/README.md @@ -0,0 +1 @@ +See detailed tutorial at https://mongoose.ws/tutorials/webui-push/ diff --git a/examples/mqtt-client/main.c b/examples/mqtt-client/main.c index 6297b771..55afcd40 100644 --- a/examples/mqtt-client/main.c +++ b/examples/mqtt-client/main.c @@ -8,7 +8,7 @@ // 4. Receives that message back from the subscribed topic and closes // 5. Timer-based reconnection logic revives the connection when it is down // -// To enable SSL/TLS, make SSL=OPENSSL or make SSL=MBEDTLS +// To enable SSL/TLS, see https://mongoose.ws/tutorials/tls/#how-to-build #include "mongoose.h" diff --git a/examples/mqtt-over-ws-client/README.md b/examples/mqtt-over-ws-client/README.md new file mode 100644 index 00000000..f94cf3c7 --- /dev/null +++ b/examples/mqtt-over-ws-client/README.md @@ -0,0 +1 @@ +See detailed tutorial at https://mongoose.ws/tutorials/mqtt-over-ws-client/ diff --git a/examples/mqtt-over-ws-client/main.c b/examples/mqtt-over-ws-client/main.c index 76107dab..f08fb7a0 100644 --- a/examples/mqtt-over-ws-client/main.c +++ b/examples/mqtt-over-ws-client/main.c @@ -7,7 +7,7 @@ // 3. Publishes message `hello` to the `s_topic` // 4. Receives that message back from the subscribed topic and exits // -// To enable SSL/TLS, make SSL=OPENSSL or make SSL=MBEDTLS +// To enable SSL/TLS, see https://mongoose.ws/tutorials/tls/#how-to-build #include "mongoose.h" diff --git a/examples/multi-threaded/README.md b/examples/multi-threaded/README.md new file mode 100644 index 00000000..363528f4 --- /dev/null +++ b/examples/multi-threaded/README.md @@ -0,0 +1 @@ +See detailed tutorial at https://mongoose.ws/tutorials/multi-threaded/ diff --git a/examples/rp2040/pico-w/README.md b/examples/rp2040/pico-w/README.md new file mode 100644 index 00000000..972b4aa1 --- /dev/null +++ b/examples/rp2040/pico-w/README.md @@ -0,0 +1 @@ +See detailed tutorial at https://mongoose.ws/tutorials/rp2040/pico-w/ diff --git a/examples/sntp-time-sync/README.md b/examples/sntp-time-sync/README.md new file mode 100644 index 00000000..3436aed4 --- /dev/null +++ b/examples/sntp-time-sync/README.md @@ -0,0 +1 @@ +See detailed tutorial at https://mongoose.ws/tutorials/sntp-time-sync/ diff --git a/examples/socks5-server/README.md b/examples/socks5-server/README.md new file mode 100644 index 00000000..990c0427 --- /dev/null +++ b/examples/socks5-server/README.md @@ -0,0 +1 @@ +See detailed tutorial at https://mongoose.ws/tutorials/socks5-server/ diff --git a/examples/tcp/README.md b/examples/tcp/README.md new file mode 100644 index 00000000..8107b4d0 --- /dev/null +++ b/examples/tcp/README.md @@ -0,0 +1 @@ +See detailed tutorial at https://mongoose.ws/tutorials/tcp/ diff --git a/examples/timers/README.md b/examples/timers/README.md new file mode 100644 index 00000000..79c415ed --- /dev/null +++ b/examples/timers/README.md @@ -0,0 +1 @@ +See detailed tutorial at https://mongoose.ws/tutorials/timers/ diff --git a/examples/udp-ssdp-search/README.md b/examples/udp-ssdp-search/README.md new file mode 100644 index 00000000..d6ed224d --- /dev/null +++ b/examples/udp-ssdp-search/README.md @@ -0,0 +1 @@ +See detailed tutorial at https://mongoose.ws/tutorials/udp-ssdp-search/ diff --git a/examples/video-stream/README.md b/examples/video-stream/README.md new file mode 100644 index 00000000..d89ca7e2 --- /dev/null +++ b/examples/video-stream/README.md @@ -0,0 +1 @@ +See detailed tutorial at https://mongoose.ws/tutorials/video-stream/ diff --git a/examples/webui-login/README.md b/examples/webui-login/README.md new file mode 100644 index 00000000..038e32e3 --- /dev/null +++ b/examples/webui-login/README.md @@ -0,0 +1 @@ +See detailed tutorial at https://mongoose.ws/tutorials/webui-login/ diff --git a/examples/webui-plain/README.md b/examples/webui-plain/README.md new file mode 100644 index 00000000..7940183a --- /dev/null +++ b/examples/webui-plain/README.md @@ -0,0 +1 @@ +See detailed tutorial at https://mongoose.ws/tutorials/webui-plain/ diff --git a/examples/webui-preact/README.md b/examples/webui-preact/README.md new file mode 100644 index 00000000..2f49dd98 --- /dev/null +++ b/examples/webui-preact/README.md @@ -0,0 +1 @@ +See detailed tutorial at https://mongoose.ws/tutorials/webui-preact/ diff --git a/examples/webui-push-rest/README.md b/examples/webui-push-rest/README.md new file mode 100644 index 00000000..8fec5187 --- /dev/null +++ b/examples/webui-push-rest/README.md @@ -0,0 +1 @@ +See detailed tutorial at https://mongoose.ws/tutorials/webui-push/ diff --git a/examples/webui-push-ws/README.md b/examples/webui-push-ws/README.md new file mode 100644 index 00000000..8fec5187 --- /dev/null +++ b/examples/webui-push-ws/README.md @@ -0,0 +1 @@ +See detailed tutorial at https://mongoose.ws/tutorials/webui-push/ diff --git a/examples/webui-rest/README.md b/examples/webui-rest/README.md new file mode 100644 index 00000000..d211a065 --- /dev/null +++ b/examples/webui-rest/README.md @@ -0,0 +1 @@ +See detailed tutorial at https://mongoose.ws/tutorials/webui-rest/