User Guide
This user guide provides detailed information about each component of Chanx and how to use them effectively in your applications.
Core Components
Chanx consists of several core components that work together to provide a comprehensive WebSocket framework:
WebSocket Consumers: Base consumer classes with authentication, messages, and group handling
Message System: Pydantic-based message validation and routing
Authentication: DRF-style authentication for WebSocket connections
Testing: Specialized tools for testing WebSocket endpoints
Playground: Interactive UI for exploring and testing WebSocket endpoints
Getting Started
If you're new to Chanx, we recommend working through the guides in this order:
Start with Authentication to understand how WebSocket connections are secured
Move on to Messages System to learn about structured message handling
Explore Consumers to see how consumers pull everything together
See Testing for guidance on testing your WebSocket endpoints
Try the WebSocket Playground for interactive exploration of your endpoints
Or jump directly to the guide that addresses your current need.
Next Steps
Begin your journey by learning about Authentication in Chanx, or if you're ready to see complete examples, check out the Examples.