@choewy/react-socket
Version:
React Socket.io
8 lines (7 loc) • 315 B
TypeScript
import { SocketClientOptions } from './interfaces';
import { SocketClient } from './socket.client';
export declare class SocketClientStorage {
private static readonly socketClientMap;
static create({ name, ...opts }: SocketClientOptions): SocketClient;
static get(name?: string): SocketClient | null;
}