WebSockets: MultiaddrMatcher = ...

Matches WebSocket addresses.

Example

import { multiaddr } from '@multiformats/multiaddr'
import { WebSockets } from '@multiformats/multiaddr-matcher'

WebSockets.matches(multiaddr('/ip4/123.123.123.123/tcp/1234/ws')) // true