Deno: Add WebSocket API

Created on 30 Nov 2018  路  4Comments  路  Source: denoland/deno

WebSockets API (MDN): https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API
WebSocket (MDN): https://developer.mozilla.org/en-US/docs/Web/API/WebSocket
WHATWG: https://html.spec.whatwg.org/multipage/web-sockets.html#the-websocket-interface

Note: The first link has a brief list of WebSocket libraries, some in JavaScript, which we can port, and some in C++.

Depends on #726

Most helpful comment

https://github.com/keroxp/deno-ws
Hi, I created an experimental version of websocket server with deno_std.
And posted on https://github.com/denoland/deno_std/issues/29

All 4 comments

Is anybody working on this?

Not right now... it really needs for the #726 to be delivered before it makes a lot of sense to try this.

https://github.com/keroxp/deno-ws
Hi, I created an experimental version of websocket server with deno_std.
And posted on https://github.com/denoland/deno_std/issues/29

The plan is to implement Web Sockets in TS, not natively. So this would be something that would live in deno_std. Therefore closing this in favor of https://github.com/denoland/deno_std/issues/29

(I am open to implementing it natively, but we should first prove that a TS implementation is too slow. That will be many months away, if ever.)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ry picture ry  路  3Comments

motss picture motss  路  3Comments

kyeotic picture kyeotic  路  3Comments

JosephAkayesi picture JosephAkayesi  路  3Comments

benjamingr picture benjamingr  路  3Comments