lib/faye/websocket/draft75_parser.rb in faye-websocket-0.1.1 vs lib/faye/websocket/draft75_parser.rb in faye-websocket-0.1.2
- old
+ new
@@ -22,9 +22,10 @@
upgrade
end
def parse(data)
data.each_byte(&method(:handle_byte))
+ nil
end
def frame(data, type = nil, error_type = nil)
["\x00", data, "\xFF"].map(&WebSocket.method(:encode)) * ''
end