Update helloworld server with beta API changes

pull/3442/head
Tim Emiola 9 years ago
parent 4831d02cc2
commit e0ef42ceee
  1. 4
      examples/ruby/greeter_server.rb

@ -52,9 +52,9 @@ end
# server port.
def main
s = GRPC::RpcServer.new
s.add_http2_port('0.0.0.0:50051')
s.add_http2_port('0.0.0.0:50051', :this_port_is_insecure)
s.handle(GreeterServer)
s.run
s.run_till_terminated
end
main

Loading…
Cancel
Save