Sha256: 2d2f6a976f2859b90eb1d3fdd756f3545982a51b41429a4c9b7c6024669c3324

Contents?: true

Size: 254 Bytes

Versions: 1

Compression:

Stored size: 254 Bytes

Contents

#!/usr/bin/env ruby

require "rubygems"
require "pigato"

client = PigatoClient.new('tcp://localhost:55555')
requests = 10
requests.times do |i|
  begin
    puts client.send('echo', 'Hello world')
  end
end

puts "#{requests} requests/replies processed"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pigato-0.1.0 examples/client.rb