gin-websocket-client

JSON →
library 1.2.1 ·javascript
verified Jun 7, 2026

TypeScript/JavaScript client for gin-websocket that wraps WebSocket communication with a fetch-compatible API and event subscriptions using pica-route pattern matching. Current version 1.2.1. Supports auto-reconnect, TypeScript types, and works in both browser and Node.js environments. Differentiated by its fetch-like interface for request-response patterns and flexible pattern-based event subscription system, making it a convenient drop-in replacement for HTTP fetch over WebSocket.