Features and Roadmap
- Define actions with request-response pattern
- Define channels with pub/sub pattern
- Single multiplexed WebSocket connection
- Pydantic models for data validation
- Error handling and validation
- Dependency injection system (like FastAPI)
- Router class for splitting API into multiple files similar to FastAPI
- Broadcasting messages from outside the server context by calling channel-decorated functions
- Error reporting inside decorated handlers with automatic error messages sent to client
- Dynamic channel paths with parameter extraction (e.g., chat/{room_id}) with automatic mapping to channel handler arguments
- JavaScript/TypeScript client library for easier integration with web applications