Sha256: 5fd107e0bc270f9c28b000c869f0949084be80cd36006223799569797dc2edf2
Contents?: true
Size: 338 Bytes
Versions: 3
Compression:
Stored size: 338 Bytes
Contents
require_relative '../lib/grenache-ruby-http.rb' Grenache::Http.configure do |conf| conf.grape_address = "http://127.0.0.1:40002/" end c = Grenache::Http.new start_time = Time.now 10.times do |n| err,resp = c.request("test","world #{n}") if resp puts resp else puts err end end puts "Total Time: #{Time.now - start_time}"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
grenache-ruby-http-0.1.2 | examples/client.rb |
grenache-ruby-http-0.1.1 | examples/client.rb |
grenache-ruby-http-0.1.0 | examples/client.rb |