mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
![]() Introduce a generic lws_state object with notification handlers that may be registered in a chain. Implement one of those in the context to manage the "system state". Allow other pieces of lws and user code to register notification handlers on a context list. Handlers can object to or take over responsibility to move forward and retry system state changes if they know that some dependent action must succeed first. For example if the system time is invalid, we cannot move on to a state where anything can do tls until that has been corrected. |
||
---|---|---|
.. | ||
minimal-http-client | ||
minimal-http-client-certinfo | ||
minimal-http-client-custom-headers | ||
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 |