1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/test-server
Andy Green fbf48227b3 add by hand http send example
This adds a demonstration of how to use the http nonblocking
send action to the test server.

If you ask for /leaf.jpg from the test server, it will send
"by hand" a 2.4MB jpeg in HTTP, including the headers.  See
the test server sources to see how it is done.

Although it's a file, and a jpeg image, actually the exact
same scheme will work for any data or mime type.

Signed-off-by: Andy Green <andy.green@linaro.org>
2013-02-14 23:24:07 +08:00
..
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
attack.sh introduce attack script 2013-02-12 14:16:09 +08:00
favicon.ico refactor-into-dirs.patch 2010-11-01 09:12:17 +00:00
leaf.jpg add by hand http send example 2013-02-14 23:24:07 +08:00
libwebsockets.org-logo.png add libwebsockets.org logo to share 2013-01-16 10:00:39 +08:00
Makefile.am add by hand http send example 2013-02-14 23:24:07 +08:00
test-client.c Fixed DLL compilation on Windows for CMake. 2013-02-13 09:29:26 +08:00
test-echo.c update echo to use externsion getting api 2013-02-13 09:34:53 +08:00
test-fraggle.c fragge able to send chunks larger than rx buffer 2013-02-14 14:19:26 +08:00
test-ping.c Fixed DLL compilation on Windows for CMake. 2013-02-13 09:29:26 +08:00
test-server.c add by hand http send example 2013-02-14 23:24:07 +08:00
test.html add by hand http send example 2013-02-14 23:24:07 +08:00