tauri-app-websocket
Installation
SKILL.md
When to use this skill
ALWAYS use this skill when the user mentions:
- WebSocket connections without WebView limits / 绕开 WebView 限制的 WebSocket
- Connect, message, and disconnect events / 连接、消息与断开事件
- Realtime updates in a Tauri app / Tauri 应用实时更新
Trigger phrases include:
- "websocket", "realtime", "connect", "disconnect"
- "WebSocket", "实时", "连接", "断开"
How to use this skill
- Define WebSocket endpoints and reconnect strategy
- Configure plugin capabilities and allowed hosts
- Handle connect, message, and disconnect lifecycle events
- Validate error handling and network recovery