diff --git a/test-server/test.html b/test-server/test.html index 43ca340e..afd5bc84 100644 --- a/test-server/test.html +++ b/test-server/test.html @@ -6,10 +6,60 @@ @@ -19,33 +69,67 @@
-
-
Detected Browser:
...
+ + + + -
+ + +
Detected Browser: +
...
+
- -
-
libwebsockets "dumb-increment-protocol"
- + + + +
- - - - -
Not initialized
-
-The incrementing number is coming from the server and is individual for +
+Click Here to +have the test server send a big picture by http. +
+
+ +
+ + + +
+
+ + + + + + + + +
+
Not initialized
+
+ +
+The incrementing number is coming from the server at 20Hz and is individual for each connection to the server... try opening a second browser window.

-The button zeros just this connection's number. -

-Click Here to have the test server send a big picture by http. -
- -
-
-
libwebsockets "lws-mirror-protocol"
-
+The button sends a message over the websocket link to ask the server +to zero just this connection's number. +
+ + + + +
+ + + +
+
+ + + + + + + + + + + +
+
libwebsockets "lws-mirror-protocol"
+
Use the mouse to draw on the canvas below -- all other browser windows open on this page see your drawing in realtime and you can see any of theirs as well. @@ -56,53 +140,70 @@ protocol, including the guy who sent the packet.

libwebsockets-test-client joins in by spamming circles on to this shared canvas when run. -
- - - - - - - - -
Drawing color: - -
Not initialized
-
-
- - -
+ +
Drawing color: + + +
Not initialized
+
+
+
+
+
+
+ +
+ + + +
+
+ + +
libwebsockets "open and close testing"
- +
- + - - -
Not initialized
-
+
+
Not initialized
+
To help with open and close testing, you can open and close a connection by hand using - the buttons. "Request Server Close" sends a message asking the server to -initiate the close. + the buttons.
+ "Close" closes the connection from the browser with code 3000 + and reason 'Bye!".
+ "Request Server Close" sends a message asking the server to +initiate the close, which it does with code 1001 and reason "Seeya". +
+ + + + + +
-
-
-
Looking for support? https://libwebsockets.org, https://github.com/warmcat/libwebsockets
Join the mailing list: https://libwebsockets.org/mailman/listinfo/libwebsockets -
-