class Socket
Ruby on Rails edge
Since edgeThis class encapsulates all the low-level logic of working with the underlying WebSocket connections and delegate all the business-logic to the user-level connection object (e.g., ApplicationCable::Connection). This connection object is also responsible for handling encoding and decoding of messages, so the user-level connection object shouldn’t know about such details.
Inherits from
Attributes
Methods (defined here)
- # close
- # perform_work
- # request
- # send_async
- # transmit
- self. new
Private methods (11)
Show private methods Implementation detail — not part of the public API.
Methods (inherited)
From Object
(17)
- # acts_like?
- # blank?
- # deep_dup
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # presence
- # presence_in
- # present?
- # to_param
- # to_query
- # try
- # try!
- # with
- # with_options
From ActiveSupport::NumericWithFormat
(2)
- # to_formatted_s
- # to_fs