1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib
Andy Green d78457425d lws_raw_transaction_completed
This provides a way to defer closing if the output buflist has
unsent content for the wsi, until the buflist is drained.

It doesn't make any assumption about the content being related
to http, so you can use it on raw.

It follows the semantics of the http transaction completed, ie

     if (lws_raw_transaction_completed(wsi))
	return -1

     return 0;
2018-12-01 11:05:59 +08:00
..
core lws_raw_transaction_completed 2018-12-01 11:05:59 +08:00
event-libs clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
misc minimal example deaddrop 2018-12-01 11:05:59 +08:00
plat clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
roles wsi: opaque_user_data and accessors 2018-12-01 11:05:59 +08:00
tls adopt: allow associated accepted vhost connections to specific role 2018-12-01 11:05:59 +08:00
README.md refactor: core code in lib/core and private-libwebsockets.h to core/private.h 2018-05-03 10:49:36 +08:00

Library sources layout

Code that goes in the libwebsockets library itself lives down ./lib

Path Sources
lib/core Core lws code related to generic fd and wsi servicing and management
lib/event-libs Code containing optional event-lib specific adaptations
lib/misc Code for various mostly optional miscellaneous features
lib/plat Platform-specific adaptation code
lib/roles Code for specific optional wsi roles, eg, http/1, h2, ws, raw, etc
lib/tls Code supporting the various TLS libraries
libwebsockets.h Public API header for the whole of lws