class WebSocketConnection

Public Instance Methods

dump(object) click to toggle source
# File lib/sleeproom/async/websocket.rb, line 17
def dump(object)
  return object
end
parse(buffer) click to toggle source
# File lib/sleeproom/async/websocket.rb, line 13
def parse(buffer)
  return buffer
end
read() click to toggle source
Calls superclass method
# File lib/sleeproom/async/websocket.rb, line 3
def read
  if buffer = super
    parse(buffer)
  end
end
write(object) click to toggle source
Calls superclass method
# File lib/sleeproom/async/websocket.rb, line 9
def write(object)
  super(dump(object))
end