How-to guides - websockets 12.0 documentation
Description: In a hurry? Check out these examples. Quick start. If you’re stuck, perhaps you’ll find the answer here. Cheat sheet, Patterns, Reload on code changes. This guide will help you integrate websockets...

Hide navigation sidebar
Hide table of contents sidebar
Back to top
Toggle table of contents sidebar

# How-to guides

In a hurry? Check out these examples.

- Quick start

If you’re stuck, perhaps you’ll find the answer here.

- Cheat sheet
- Patterns
- Reload on code changes

This guide will help you integrate websockets into a broader system.

- Integrate with Django

The WebSocket protocol makes provisions for extending or specializing its features, which websockets supports fully.

- Write an extension

Once your application is ready, learn how to deploy it on various platforms.

- Deploy to Render
- Deploy to Fly
- Deploy to Heroku
- Deploy to Kubernetes
- Deploy with Supervisor
- Deploy behind nginx
- Deploy behind HAProxy

If you’re integrating the Sans-I/O layer of websockets into a library, rather than building an application with websockets, follow this guide.

- Integrate the Sans-I/O layer
  - Opening a connection
  - From the network to the application
  - From the application to the network
  - Closing a connection
  - Fragmentation
  - Tips