Contents Menu Expand Light mode Dark mode Auto light/dark mode
If you are new to Hotwire, you may be interested in this free eBook Hotwire Django Tutorial
django-turbo-helper 2.1.4 documentation
django-turbo-helper 2.1.4 documentation
  • Installation
  • Form Submission
  • dom_id
  • Turbo Frame
  • Turbo Stream
  • Real Time Updates via Websocket
  • Extend Turbo Stream
  • Multi-format Response
  • Signal Decorator
  • Hints on testing
  • API Reference
    • turbo_helper
      • turbo_helper.channels
        • turbo_helper.channels.broadcasts
        • turbo_helper.channels.stream_name
        • turbo_helper.channels.streams_channel
      • turbo_helper.templatetags
        • turbo_helper.templatetags.turbo_helper
      • turbo_helper.apps
      • turbo_helper.constants
      • turbo_helper.middleware
      • turbo_helper.renderers
      • turbo_helper.response
      • turbo_helper.shortcuts
      • turbo_helper.signals
      • turbo_helper.stream
      • turbo_helper.turbo_power
Back to top
Edit this page

turbo_helper.channels.streams_channel¶

Module Contents¶

Classes¶

TurboStreamCableChannel

Attributes¶

signer

turbo_helper.channels.streams_channel.signer¶
class turbo_helper.channels.streams_channel.TurboStreamCableChannel(consumer, identifier_key, params=None)¶

Bases: actioncable.CableChannel

Parameters:

consumer (actioncable.ActionCableConsumer)

async subscribe()¶
async unsubscribe()¶
Next
turbo_helper.templatetags
Previous
turbo_helper.channels.stream_name
Copyright © 2024, Michael Yin
Made with Sphinx and @pradyunsg's Furo
On this page
  • turbo_helper.channels.streams_channel
    • Module Contents
      • Classes
      • Attributes
        • signer
        • TurboStreamCableChannel
          • TurboStreamCableChannel.subscribe()
          • TurboStreamCableChannel.unsubscribe()