salvo-websocket

Establish real-time bidirectional WebSocket communication in Salvo-based Rust apps.

1|Updated Mar 16, 2024
One-click install
npx skills add https://github.com/tdcare/genies --skill salvo-websocket-tdcare
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: salvo-websocket
Source: https://github.com/tdcare/genies/tree/main/.qoder/skills/salvo-websocket
Command: npx skills add https://github.com/tdcare/genies --skill salvo-websocket-tdcare

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a ready-to-use WebSocket integration for Salvo-based Rust applications, enabling real-time bidirectional communication without boilerplate wiring.

Core Features & Use Cases

  • WebSocket upgrade handling with Salvo's upgrade flow
  • Real-time messaging for chat, live updates, and collaborative tools
  • Examples including echo server and simple chat room patterns to illustrate common scenarios

Quick Start

Install the Salvo WebSocket feature and run a minimal server to verify real-time bidirectional messaging.

Frequently Asked Questions about salvo-websocket

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add real-time WebSocket support to a Salvo Rust application?

To add real-time WebSocket support to a Salvo Rust application, you use a pre-built integration that handles the WebSocket upgrade flow and establishes bidirectional messaging without manual boilerplate wiring.

Can I use WebSockets in Salvo for live chat and collaborative tools?

Yes, you can use WebSockets in Salvo for live chat and collaborative tools. The integration provides real-time, low-latency bidirectional messaging suitable for interactive applications like multiplayer games and live updates.

Does Salvo handle WebSocket upgrade requests and message framing automatically?

Salvo handles WebSocket upgrade requests and message framing automatically through its server upgrade paths. The integration manages upgrade flow, event handling, and error management for real-time communication.

What patterns are available for real-time messaging in Salvo Rust apps?

Available patterns for real-time messaging in Salvo Rust apps include echo server and simple chat room examples. These demonstrate common scenarios for event handling and message framing in interactive applications.

How do I manage authentication hooks for WebSocket connections in Salvo?

You manage authentication hooks for WebSocket connections in Salvo by utilizing the provided event handling and error management mechanisms. The integration meets requirements for authentication hooks during the WebSocket upgrade flow.