Sha256: 4cff19d7f1a785805978489663eb01698b6de15fae4a30db3a2d53e100c56f82
Contents?: true
Size: 376 Bytes
Versions: 21
Compression:
Stored size: 376 Bytes
Contents
# frozen_string_literal: true $LOAD_PATH.unshift File.expand_path('./examples/helloworld') require 'grpc_kit' require 'socket' require 'pry' require 'helloworld_services_pb' HOST = 'localhost' PORT = 50051 sock = TCPSocket.new(HOST, PORT) stub = Helloworld::Greeter::Stub.new(sock) message = stub.say_hello(Helloworld::HelloRequest.new(name: 'ganmacs')).message p message
Version data entries
21 entries across 21 versions & 1 rubygems