1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/minimal-examples/http-server
Andy Green de064fd65a refactor: core code in lib/core and private-libwebsockets.h to core/private.h
This commit is coverity-clean as tested

cmake .. -DLWS_WITH_MINIMAL_EXAMPLES=1 -DLWS_WITHOUT_EXTENSIONS=1 -DLWS_WITH_ACME=1 -DLWS_WITH_LWSWS=1 -DLWS_WITH_LIBUV=1 -DLWS_WITH_HTTP2=1 -DLWS_WITHOUT_CLIENT=0 -DLWS_WITHOUT_SERVER=0 -DLWS_UNIX_SOCK=1 -DLWS_WITH_TLS=0 -DLWS_WITH_MBEDTLS=0 -DLWS_WITH_CGI=1 -DCMAKE_BUILD_TYPE=DEBUG -DLWS_WITH_GENERIC_SESSIONS=1 -DLWS_WITH_RANGES=1 -DLWS_ROLE_WS=1 -DLWS_MAX_SMP=16 -DLWS_ROLE_H1=1 -DLWS_WITH_WOLFSSL=0 -DLWS_WITH_LIBEV=0 -DLWS_WITH_LIBEVENT=1
2018-05-03 10:49:36 +08:00
..
minimal-http-server refactor: most preparation for -DLWS_ROLE_H1=0 2018-04-27 19:16:50 +08:00
minimal-http-server-basicauth refactor: most preparation for -DLWS_ROLE_H1=0 2018-04-27 19:16:50 +08:00
minimal-http-server-dynamic refactor: most preparation for -DLWS_ROLE_H1=0 2018-04-27 19:16:50 +08:00
minimal-http-server-eventlib hrtimer: add support for libevent and libev 2018-05-02 19:27:33 +08:00
minimal-http-server-eventlib-demos hrtimer: add support for libevent and libev 2018-05-02 19:27:33 +08:00
minimal-http-server-eventlib-foreign hrtimer: add support for libevent and libev 2018-05-02 19:27:33 +08:00
minimal-http-server-form-get refactor: most preparation for -DLWS_ROLE_H1=0 2018-04-27 19:16:50 +08:00
minimal-http-server-form-post refactor: most preparation for -DLWS_ROLE_H1=0 2018-04-27 19:16:50 +08:00
minimal-http-server-form-post-file refactor: most preparation for -DLWS_ROLE_H1=0 2018-04-27 19:16:50 +08:00
minimal-http-server-multivhost refactor: most preparation for -DLWS_ROLE_H1=0 2018-04-27 19:16:50 +08:00
minimal-http-server-smp refactor: most preparation for -DLWS_ROLE_H1=0 2018-04-27 19:16:50 +08:00
minimal-http-server-sse refactor: most preparation for -DLWS_ROLE_H1=0 2018-04-27 19:16:50 +08:00
minimal-http-server-sse-ring refactor: core code in lib/core and private-libwebsockets.h to core/private.h 2018-05-03 10:49:36 +08:00
minimal-http-server-tls refactor: most preparation for -DLWS_ROLE_H1=0 2018-04-27 19:16:50 +08:00
README.md hrtimer: add support for libevent and libev 2018-05-02 19:27:33 +08:00

Example Demonstrates
minimal-http-server-basicauth Shows how to protect a mount using a password file and basic auth
minimal-http-server-dynamic Serves both static and dynamically generated http content
minimal-http-server-eventlib-foreign Demonstrates integrating lws with a foreign event library
minimal-http-server-eventlib-demos Using the demo plugins with event libraries
minimal-http-server-eventlib Same as minimal-http-server but works with a supported event library
minimal-http-server-form-get Process a GET form
minimal-http-server-form-post-file Process a multipart POST form with file transfer
minimal-http-server-form-post Process a POST form (no file transfer)
minimal-http-server-multivhost Same as minimal-http-server but three different vhosts
minimal-http-server-smp Multiple service threads
minimal-http-server-sse-ring Server Side Events with ringbuffer and threaded event sources
minimal-http-server-sse Simple Server Side Events
minimal-http-server-tls Serves a directory over http/1 or http/2 with TLS (SSL), custom 404 handler
minimal-http-server Serves a directory over http/1, custom 404 handler