From 5acc6ad0c48ba9a35628834e8defec0809b508d1 Mon Sep 17 00:00:00 2001 From: wunter8 Date: Wed, 15 Nov 2023 09:28:35 -0700 Subject: [PATCH] Add JS websocket example --- .../web-example-websocket/example-ws.html | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 examples/web-example-websocket/example-ws.html diff --git a/examples/web-example-websocket/example-ws.html b/examples/web-example-websocket/example-ws.html new file mode 100644 index 00000000..7025aa60 --- /dev/null +++ b/examples/web-example-websocket/example-ws.html @@ -0,0 +1,56 @@ + + + + + ntfy.sh: WebSocket Example + + + + +

ntfy.sh: WebSocket Example

+

+ This is an example showing how to use ntfy.sh with + WebSocket.
+ This example doesn't need a server. You can just save the HTML page and run it from anywhere. +

+ +

Log:

+
+ + + + +