Web sockets

What is the proper way to work with web sockets in Mojo?
5 Replies
Joel
Joel10mo ago
There exists a Mojo HTTPS framework called lightbug (https://github.com/saviorand/lightbug_http)
GitHub
GitHub - saviorand/lightbug_http: Simple and fast HTTP framework fo...
Simple and fast HTTP framework for Mojo! 🔥 Perfect for building web services and simple APIs. For Mojicians with deadlines. - saviorand/lightbug_http
Joel
Joel10mo ago
I hope that helps you
a2svior
a2svior10mo ago
@Joel thanks for sharing! I hope we add support to websockets in the future, they're not available yet
Deleted User
Deleted UserOP10mo ago
is that why i get a segmentation fault when i import the sockets library from python?
Deleted User
Deleted UserOP10mo ago
GitHub
[BUG]: Segmentation fault when creating web socket · Issue #1770 · ...
Bug description I'm trying to create a simple web socket with Python's socket library but I get a segmentation fault when doing so. This is my output: codewriter3000@SHAW:~/mojo_projects/fi...
Want results from more Discord servers?
Add your server