2020-04-08 15:22:31 +03:00
|
|
|
# WebSockets Library for V
|
|
|
|
|
2020-04-08 20:44:30 +03:00
|
|
|
Originally located at [thecodrr/vws](https://github.com/thecodrr/vws) (contains example usage)
|
|
|
|
|
2020-04-08 15:22:31 +03:00
|
|
|
**This is still work-in-progress!**
|
|
|
|
|
2020-04-08 22:19:01 +03:00
|
|
|
Heavily inspired from [cwebsockets](https://github.com/jeremyhahn/cwebsocket).
|
2020-04-08 15:22:31 +03:00
|
|
|
|
|
|
|
The websockets library itself is ready and working (passes all tests of AutoBahn). What's left:
|
|
|
|
|
|
|
|
1. It needs to be updated and made to run with latest V.
|
|
|
|
2. No Windows Support (SSL issues)
|
2020-04-08 22:19:01 +03:00
|
|
|
3. No proper AutoBahn test client (a prototype is in the main.v but nothing proper).
|
2020-04-08 15:22:31 +03:00
|
|
|
4. No Websocket Server.
|
2020-04-08 22:19:01 +03:00
|
|
|
5. Remove the `logger` and move to `log`
|
2020-04-08 15:22:31 +03:00
|
|
|
|
|
|
|
## What's needed for Windows support:
|
|
|
|
|
|
|
|
1. SSL (either make the VSChannel work or OpenSSL)
|
|
|
|
|
|
|
|
General code cleanup etc. is also needed.
|