V: VWeb with WebSockets support

Created on 23 Aug 2019  路  20Comments  路  Source: vlang/v

Another possibility to offer a fast communication over server <-> client connections.

Feature Request

Most helpful comment

I did some work on the websocket server. Will publish it soon.

All 20 comments

+1 would be great! very needed feature

I did some work on the websocket server. Will publish it soon.

A lot of thanks!

await

Is there also websocket client support?

Waiting for it 馃檭

+1 for websocket client support

+1

+1

Any updates on this?

I see https://github.com/vlang/v/pull/3130 but I don't know how complete it is re: full, usable WebSocket support

Implemented ws, closed

This is only the client, correct? The ws server is not implemented yet?

So, with VWeb is it possible to pass data between client's browser and the V back-end server? (PS. If I butchered the architecture, forgive me, I'm new to V!)

The ws server is implemented, just not pushed, yet. Waiting for another merge to happen first.

@antonkatz @JalonSolov ws server it's actually working, needs an little bit more work
https://github.com/helto4real/websocket

Right, but it's not pushed to the main v repo. And as you say, needs a little bit more work.

Seems that websockets were removed from the current master branch's vlib?

https://github.com/helto4real/websocket

this repository does not work with the latest version of V sadly

It was moved to the vlib/x/websocket in the main V code. It is the complete websockets code, including autobahn tests (in the tests subdir). Just hasn't been moved out of the experimental stage, yet.

Ah great, thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

markgraydev picture markgraydev  路  3Comments

oleg-kachan picture oleg-kachan  路  3Comments

medvednikov picture medvednikov  路  3Comments

lobotony picture lobotony  路  3Comments

arg2das picture arg2das  路  3Comments