diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-06-19 17:55:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-19 17:55:12 -0400 |
commit | a9bb9d7abc59d497d443d463544d5d859d08463b (patch) | |
tree | a80f92d05743d062a053977a6a3d1ca3f47c7684 | |
parent | 91450faa99ec9fd8c05c0f5a1d9b7b280bf296c5 (diff) | |
parent | 2f8dc184fcf6deff75600fd229757ac7ed367abe (diff) | |
download | rails-a9bb9d7abc59d497d443d463544d5d859d08463b.tar.gz rails-a9bb9d7abc59d497d443d463544d5d859d08463b.tar.bz2 rails-a9bb9d7abc59d497d443d463544d5d859d08463b.zip |
Merge pull request #29485 from tjschuck/nodoc_ac_conn_websocket
nodoc AC::Connection::WebSocket
-rw-r--r-- | actioncable/lib/action_cable/connection/web_socket.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/connection/web_socket.rb b/actioncable/lib/action_cable/connection/web_socket.rb index 03eb6e2ea8..27ae499f29 100644 --- a/actioncable/lib/action_cable/connection/web_socket.rb +++ b/actioncable/lib/action_cable/connection/web_socket.rb @@ -3,7 +3,7 @@ require "websocket/driver" module ActionCable module Connection # Wrap the real socket to minimize the externally-presented API - class WebSocket + class WebSocket # :nodoc: def initialize(env, event_target, event_loop, protocols: ActionCable::INTERNAL[:protocols]) @websocket = ::WebSocket::Driver.websocket?(env) ? ClientSocket.new(env, event_target, event_loop, protocols) : nil end |