1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

minimal: refactor directories and add README.md

This commit is contained in:
Andy Green 2018-03-15 11:20:13 +08:00
parent 9db35aa1bf
commit 6232f5a2b7
65 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,5 @@
|name|demonstrates|
---|---
server|Minimal examples providing a server
client|Minimal examples providing a client
client-server|Minimal examples providing client and server connections simultaneously

View file

@ -0,0 +1,3 @@
|name|demonstrates|
---|---
minimal-ws-proxy|Serves an index.html over http that connects back to the ws server, and maintains a ws client connection of its own at the same time to https://libwebsockets.org dumb-increment-protocol to feed a ringbuffer that is sent to all connected browsers.

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -0,0 +1,4 @@
|name|demonstrates|
---|---
minimal-http-client|Connects to and reads https://warmcat.com
minimal-ws-client|Connects to the dumb-increment-protocol wss server at https://libwebsockets.org

View file

@ -0,0 +1,10 @@
|Example|Demonstrates|
---|---
minimal-http-server|Serves a directory over http/1 or http/2, custom 404 handler
minimal-http-server-smp|Multiple service threads
minimal-ws-server|Serves an index.html over http that opens a ws shared chat client in a browser
minimal-ws-server-pmd|Simple ws server with permessage-deflate support
minimal-ws-server-pmd-bulk|Simple ws server showing how to pass bulk data with permessage-deflate
minimal-ws-server-ring|Like minimal-ws-server but holds the chat in a multi-tail ringbuffer
minimal-ws-server-threads|Simple ws server where data is produced by different threads

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB