examples/mud/client.rb in async-websocket-0.13.1 vs examples/mud/client.rb in async-websocket-0.14.0

- old
+ new

@@ -13,10 +13,10 @@ Async::IO::Generic.new($stdin) ) endpoint = Async::HTTP::Endpoint.parse(URL) - Async::WebSocket::Client.open(endpoint) do |connection| + Async::WebSocket::Client.connect(endpoint) do |connection| task.async do $stdout.write "> " while line = stdin.read_until("\n") connection.write({input: line})