UNPKG

@libp2p/websockets

Version:

JavaScript implementation of the WebSockets module that libp2p uses and that implements the interface-transport spec

18 lines 812 B
import type { Multiaddr } from '@multiformats/multiaddr'; /** * @deprecated Configure this globally by passing a `connectionGater` to `createLibp2p` with a `denyDialMultiaddr` method that returns `false` */ export declare function all(multiaddrs: Multiaddr[]): Multiaddr[]; /** * @deprecated Configure this globally by passing a `connectionGater` to `createLibp2p` */ export declare function wss(multiaddrs: Multiaddr[]): Multiaddr[]; /** * @deprecated Configure this globally by passing a `connectionGater` to `createLibp2p` */ export declare function dnsWss(multiaddrs: Multiaddr[]): Multiaddr[]; /** * @deprecated Configure this globally by passing a `connectionGater` to `createLibp2p` */ export declare function dnsWsOrWss(multiaddrs: Multiaddr[]): Multiaddr[]; //# sourceMappingURL=filters.d.ts.map