lib/websocket-client-simple/client.rb in websocket-client-simple-0.6.1 vs lib/websocket-client-simple/client.rb in websocket-client-simple-0.7.0
- old
+ new
@@ -9,10 +9,10 @@
return client
end
class Client
include EventEmitter
- attr_reader :url, :handshake
+ attr_reader :url, :handshake, :thread
def connect(url, options={})
return if @socket
@url = url
uri = URI.parse url