Sha256: 717ada90c567e837863dba8a4db3182f5016a3bc64a71490e92a0ed1b402a197

Contents?: true

Size: 376 Bytes

Versions: 4

Compression:

Stored size: 376 Bytes

Contents

# Allow examples to be run directly outside of the Gem
$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
require 'rubygems'
require 'ruby_skynet'

SemanticLogger::Logger.default_level = :trace
SemanticLogger::Logger.appenders << SemanticLogger::Appender::File.new('echo_client.log')

client = RubySkynet::Client.new('EchoService')
p client.call('echo', :hello => 'world')

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby_skynet-0.6.0 examples/echo_client.rb
ruby_skynet-0.5.0 examples/echo_client.rb
ruby_skynet-0.4.0 examples/echo_client.rb
ruby_skynet-0.4.0.pre2 examples/echo_client.rb