diff options
author | T.J. Schuck <tj@tjschuck.com> | 2017-06-16 18:36:04 -0400 |
---|---|---|
committer | T.J. Schuck <tj@tjschuck.com> | 2017-06-16 18:36:04 -0400 |
commit | 2f8dc184fcf6deff75600fd229757ac7ed367abe (patch) | |
tree | 05d6773288bb58fe3475d2f976203b092b5353d3 /actioncable/lib/action_cable | |
parent | 019c7f92f09170f0f87105f544ae4eff49e83de7 (diff) | |
download | rails-2f8dc184fcf6deff75600fd229757ac7ed367abe.tar.gz rails-2f8dc184fcf6deff75600fd229757ac7ed367abe.tar.bz2 rails-2f8dc184fcf6deff75600fd229757ac7ed367abe.zip |
nodoc AC::Connection::WebSocket
Users should never publicly be interacting with an instance of this. The instance that comes along with an `AC::Connection::Base` instance (the only thing a user should be working with) is [itself intended to be private](https://github.com/tjschuck/rails/blob/master/actioncable/lib/action_cable/connection/base.rb#L137-L140).
[ci skip]
Diffstat (limited to 'actioncable/lib/action_cable')
-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 |