class AnyCable::Rack::BinaryFrame

Wrapper for outgoing data used to correctly set the WS frame type

Public Class Methods

new(data) click to toggle source
# File lib/anycable/rack/socket.rb, line 9
def initialize(data)
  @data = data
end

Public Instance Methods

to_s() click to toggle source
# File lib/anycable/rack/socket.rb, line 13
def to_s
  @data.to_s
end