Files
common/packages/x-ws
Jaco Greeff 3adf475ef4 5.2 (#821)
* 5.2

* Bump
2020-12-27 08:39:14 +01:00
..
2020-12-27 08:39:14 +01:00

@polkadot/x-ws

A cross-environment WebSocket.

Install it via yarn add @polkadot/x-ws

import { WebSocket } from '@polkadot/x-ws';

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