luasocket icon indicating copy to clipboard operation
luasocket copied to clipboard

websocket support

Open adrfantini opened this issue 1 year ago • 3 comments

Is there any plan to add websocket support to luasocket?

Currently the main WS implementation for Lua seems to be lua-websockets which, however, is unmaintained since 6 years.

adrfantini avatar Nov 11 '24 11:11 adrfantini

I don't think there are any plans. However, that project is looking for a maintainer...

Tieske avatar Nov 14 '24 22:11 Tieske

One more ws implementations (pure Lua over luasocket, but need bit32 API)

  • https://github.com/flaribbit/love2d-lua-websocket

Can work without love2d

blogdron avatar Jan 05 '25 14:01 blogdron

lua-http https://daurnimator.github.io/lua-http/0.4/#http.websocket has a good working websocket implementation that I am using for 8 years now. Daurnimator has a reputation of making it really work according to specs. And it does. lua-http itself also has very good control over the ssl that's being used (as I can use my client certificate if I do a web request to an ssl site demanding client certs). Message ID: @.***>

ardje avatar Jan 05 '25 16:01 ardje