Example of how to consume a streaming json API using Hyper.
Make sure you have ruby and bundler installed, and then run bundle install && ruby app.rb
. This will create a server listening on port 4567. Then run cargo run
to make the client connect to it.