class Yajl::HttpStream

def get(uri, opts = {}, &block)

Makes a basic HTTP GET request to the URI provided allowing the user to terminate the connection
def get(uri, opts = {}, &block)
  initialize_socket(uri, opts)
  HttpStream::get(uri, opts, &block)
rescue IOError => e
  raise e unless @intentional_termination
end