[Libwebsockets] permessage-deflate: selective deflate?

Felipe Gasper felipe at felipegasper.com
Tue Jun 29 17:39:42 CEST 2021


	WebSocket’s compression extension allows for selective compression: this message compressed, the next uncompressed, etc.

	This is advantageous for applications like terminals, where individual messages will only be a byte or two each.

	Does LWS’s lws_extension_callback_pm_deflate() expose any way to send an uncompressed message even when the compression extension is enabled?

	Thank you!


More information about the Libwebsockets mailing list