aboutsummaryrefslogtreecommitdiffstats
path: root/lib/action_cable/connection/message_buffer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/action_cable/connection/message_buffer.rb')
-rw-r--r--lib/action_cable/connection/message_buffer.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/action_cable/connection/message_buffer.rb b/lib/action_cable/connection/message_buffer.rb
index 615266e0cb..d5a8e9eba9 100644
--- a/lib/action_cable/connection/message_buffer.rb
+++ b/lib/action_cable/connection/message_buffer.rb
@@ -1,5 +1,7 @@
module ActionCable
module Connection
+ # Allows us to buffer messages received from the websocket before the Connection has been fully initialized and is ready to receive them.
+ # Entirely internal operation and should not be used directly by the user.
class MessageBuffer
def initialize(connection)
@connection = connection