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
Outputs
- Realtime communication plan / 实时通信方案
- Host allowlist and recovery checklist / 主机白名单与恢复清单
Scope
- Boundary: WebSocket plugin usage only
- Key points: Lifecycle management and host allowlisting
References
Keywords
tauri websocket, realtime, connect, disconnect
Related skills
More from partme-ai/tauri-skills
tauri
Comprehensive index for Tauri framework development, including Rust backend, frontend integration, and full plugin ecosystem. Acts as a router to specialized sub-skills with local examples and templates.
1tauri-app-positioner
Guidance for Tauri v2 positioner plugin with multi-display alignment strategies.
1tauri-app-nfc
Guidance for Tauri v2 NFC plugin with session handling and data validation.
1tauri-build
Guidance for Tauri v2 production builds, signing, and distribution artifacts.
1tauri-app-shell
Guidance for Tauri v2 shell plugin with secure command execution and open behavior.
1tauri-app-store
Guidance for Tauri v2 store plugin with key-value persistence and lazy loading.
1