rust-websocket
CommunityProduction-grade Rust WebSocket clients.
Authoranicdh
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Long-running WebSocket workflows in Rust are error-prone without robust lifecycle management. This skill provides production-grade patterns for PING/keep-alive, reconnection with cleanup, interval task lifecycle, and subscription management to ensure stable streams.
Core Features & Use Cases
- PING/keep-alive scheduling with a single, dedicated interval.
- Clean reconnection workflow: terminate old tasks, reset state, and re-subscribe on reconnect.
- Subscription management with persistence to auto-resubscribe after reconnects.
- Production-ready messaging loop with separate reader/writer tasks and safe shutdown.
Quick Start
Instantiate the Rust WebSocket client with the target URL and call its run loop, then subscribe to desired topics.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: rust-websocket Download link: https://github.com/anicdh/agstack/archive/main.zip#rust-websocket Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.