salvo-realtime

Enables WebSocket and SSE real-time bidirectional communication in Salvo applications.

20|5|Updated Jan 11, 2026
One-click install
npx skills add https://github.com/salvo-rs/salvo-skills --skill salvo-realtime
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: salvo-realtime
Source: https://github.com/salvo-rs/salvo-skills/tree/main/skills/salvo-realtime
Command: npx skills add https://github.com/salvo-rs/salvo-skills --skill salvo-realtime

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Implement real-time features in Salvo applications using WebSocket and SSE to enable live chats, updates, and notifications.

Core Features & Use Cases

  • WebSocket support for full-duplex bidirectional communication.
  • SSE streaming for server-to-client event delivery.
  • Use cases include chat apps, live dashboards, and collaborative interfaces.

Quick Start

Create a Salvo router, add a WebSocket or SSE endpoint, and run the server to enable real-time capabilities.

Frequently Asked Questions about salvo-realtime

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

FAQPage Schema
How do I add real-time chat and live notifications to a Salvo web application?

Real-time chat and live notifications in Salvo require WebSocket upgrades for full-duplex bidirectional communication or SSE streaming for server-to-client event delivery. This enables low-latency message delivery for interactive application scenarios.

What is the difference between WebSocket and SSE for live updates in Salvo?

WebSocket provides full-duplex bidirectional communication for interactive chat and collaborative interfaces, while SSE streaming handles one-way server-to-client event delivery for live dashboards and notifications. Both integrate directly with Salvo routing.

How do I set up a WebSocket endpoint using Salvo?

Setting up a WebSocket endpoint in Salvo involves creating a router, adding a WebSocket upgrade endpoint using WebSocketUpgrade, and running the server. This enables bidirectional real-time capabilities for your application.

Can I use SSE streaming for live dashboard updates with Salvo?

Yes, you can use SSE streaming with Salvo to push server-to-client events for live dashboards. It delivers low-latency updates by streaming events directly to the client without requiring continuous polling.

When should I use WebSocket instead of SSE in a Salvo real-time app?

Use WebSocket in Salvo when you need full-duplex bidirectional communication for chat apps or collaborative interfaces. Use SSE streaming when you only need server-to-client event delivery for live updates and notifications.