clasp-router
Message router and server for CLASP (Creative Low-Latency Application Streaming Protocol).
Features
- Message Routing - Route messages between connected clients
- Pattern Matching - Wildcard subscriptions with
*and** - State Management - Maintain parameter state with history
- Session Management - Track client connections and subscriptions
Usage
use Router;
use SocketAddr;
async
Architecture
┌─────────┐ ┌─────────┐ ┌─────────┐
│ Client1 │ │ Client2 │ │ Client3 │
└────┬────┘ └────┬────┘ └────┬────┘
│ │ │
└───────────────┼───────────────┘
│
┌──────▼──────┐
│ Router │
│ (clasp- │
│ router) │
└─────────────┘
Documentation
Visit clasp.to for full documentation.
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Maintained by LumenCanvas | 2026