-
-
Save zipkid/fb3743fc4f7a0c8b2dc2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ruby 1.8.7 | |
websocket-driver (0.5.1) | |
websocket-extensions (0.1.1) | |
"HTTP/1.1 101 Switching Protocols\r\nUpgrade: websocket\r\nConnection: Upgrade\r\nSec-WebSocket-Accept: <hash/>\r\n\r\n" | |
"\201\020{\"type\":\"hello\"}" | |
/usr/lib/ruby/gems/1.8/gems/websocket-driver-0.5.1/lib/websocket/driver/hybi/stream_reader.rb:19:in `read': undefined method `byteslice' for "\201\020{\"type\":\"hello\"}":String (NoMethodError) | |
Is there a way to make This above being read the same way as below? | |
Ruby 2.1.3 | |
websocket-driver (0.5.1) | |
websocket-extensions (0.1.1) | |
"HTTP/1.1 101 Switching Protocols\r\nUpgrade: websocket\r\nConnection: Upgrade\r\nSec-WebSocket-Accept: <hash/>\r\n\r\n" | |
"\x81\x10{\"type\":\"hello\"}" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment