Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 231 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 231 Bytes

@polkadot/x-ws

A cross-environment WebSocket.

Install it via yarn add @polkadot/x-ws

import { WebSocket } from 'https://deno.land/x/polkadot@0.2.45/x-ws/mod.ts';

...
const ws = new WebSocket('wss://example.com');