Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Use wslay as a WebSocket library #30263
EDIT: No longer WIP, ready fro review.
While I'm pretty happy with this work, I'm sure it's still not as stable as the other library, mainly because this Godot integration is less tested then the other.
It would be great if people who uses the WebSocket module could give this PR a try with their servers to verify I didn't mess up the handshake part (
Please report any issue you might encounter, I'll try to fix the edge cases mentioned above in the coming days.
Fixes #27632 (given the libwebsocket is dropped, and the new lib uses our
4 times, most recently
Jul 3, 2019
I'll package it for Mageia to give it a try, and if that works I'll import it in Fedora too.
Edit: It actually is packaged in Debian/Ubuntu already in recent versions, as well as openSUSE: https://pkgs.org/download/wslay
I don't currently have any projects I'm working on that use websockets (the only one I've done so far, a discord library, I'm thinking of remaking from scratch anyways; that one will be a ways off though), but I do have a couple ideas for ones. I might as well test it when I get the chance.
Sure, client already works as before (just pass
Server will likely have two new parameters to listen e.g.
I'll make sure to implement it in the websocket_chat_demo and push it to the godot demo projects repository.
Thank you for trying this out!
because it was bloated, broken, unmaintainable.