Files
github-actions[bot] 9281daa14c
Lock Threads / lock (push) Has been cancelled
[CI Skip] release/stable 14.0.3
skip-checks: true
2026-03-23 12:53:26 +00:00
..
2026-03-23 12:53:26 +00:00
2026-03-23 14:48:13 +02: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');