|
|
10 سال پیش | |
|---|---|---|
| .. | ||
| lib | 10 سال پیش | |
| .gitignore | 10 سال پیش | |
| Gemfile | 10 سال پیش | |
| README.md | 10 سال پیش | |
| greeter.gemspec | 10 سال پیش | |
| greeter_client.rb | 10 سال پیش | |
| greeter_server.rb | 10 سال پیش | |
This requires Ruby 2.1, as the gRPC API surface uses keyword args.
Use bundler to install
$ # from this directory
$ gem install bundler && bundle install
Run the server
$ # from this directory
$ bundle exec ./greeter_server.rb &
Run the client
$ # from this directory
$ bundle exec ./greeter_client.rb