提交 a9bb9d7a 编写于 作者: R Rafael França 提交者: GitHub

Merge pull request #29485 from tjschuck/nodoc_ac_conn_websocket

nodoc AC::Connection::WebSocket
......@@ -3,7 +3,7 @@
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册