0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-08 23:31:24 -05:00
denoland-deno/op_crates/websocket
Luca Casonato 0e72129da2
fix(websocket): ignore resource close error (#9755)
It is possible that the WebSocket is already closed when we try to
close it with `WebSocket#close` or in the `error` or `close` events.
Currently this leads to an uncatchable promise rejection. This changes
this so that closing an already closed WebSocket is a noop.
2021-04-02 00:55:22 +02:00
..
01_websocket.js fix(websocket): ignore resource close error (#9755) 2021-04-02 00:55:22 +02:00
Cargo.toml chore: release crates (#9847) 2021-03-21 16:10:08 +01:00
lib.deno_websocket.d.ts chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
lib.rs chores: enforce type ResourceId across codebase (#9837) 2021-03-19 13:25:37 -04:00
README.md refactor: move WebSocket API to an op_crate (#9026) 2021-01-06 16:57:28 +01:00

deno_websocket

This op crate implements the websocket functions of Deno.

Spec: https://html.spec.whatwg.org/multipage/web-sockets.html