mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
![]() In the case code is composed into a single process, but it isn't monolithic in the sense it's made up of modular "applications" that are written separate projects, provide a way for the "applications" to request a callback from the lws event loop thread context safely. From the callback the applications can set up their operations on the lws event loop and drop their own thread. Since it requires system-specific locking to be threadsafe, provide a non-threadsafe helper and then indirect the actual usage through a user-defined lws_system ops function pointer that wraps the unsafe api with the system locking to make it safe. |
||
---|---|---|
.. | ||
minimal-http-client | ||
minimal-http-client-attach | ||
minimal-http-client-certinfo | ||
minimal-http-client-custom-headers | ||
minimal-http-client-h2-rxflow | ||
minimal-http-client-hugeurl | ||
minimal-http-client-multi | ||
minimal-http-client-post | ||
README.md |
name | demonstrates |
---|---|
minimal-http-client-certinfo | Shows how to gain detailed information on the peer certificate |
minimal-http-client-custom-headers | Shows how to send and receive custom headers (h1 only) |
minimal-http-client-hugeurl | Sends a > 2.5KB URL to warmcat.com |
minimal-http-client-multi | Connects to and reads https://warmcat.com, 8 times concurrently |
minimal-http-client-post | POSTs a form containing an uploaded file and a form variable, and captures the response |
minimal-http-client | Connects to and reads https://warmcat.com |