instance method encode

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

encode(cable_message)

No documentation comment.

Parameters

cable_message req
Source
# File actioncable/lib/action_cable/server/socket.rb, line 116
        def encode(cable_message)
          @coder.encode cable_message
        end

Defined in actioncable/lib/action_cable/server/socket.rb line 116 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionCable::Server::Socket

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close