Overview
-
module Async-
module Cable-
class MiddlewareRack middleware that intercepts WebSocket upgrade requests and dispatches them to ActionCable, passing all other requests to the next app in the middleware stack.
-
class RailtieRails integration that automatically inserts
class Async::Cable::Middlewareinto the application middleware stack during initialization. -
class SocketWraps a WebSocket connection to provide the interface expected by ActionCable connections. Buffers outbound messages in a queue and drains them asynchronously so that transmission never blocks the event loop.
-
-