Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: third_party/grpc/examples/ruby/lib/helloworld_services.rb

Issue 1932353002: Initial checkin of gRPC to third_party/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Generated by the protocol buffer compiler. DO NOT EDIT!
2 # Source: helloworld.proto for package 'helloworld'
3
4 require 'grpc'
5 require 'helloworld'
6
7 module Helloworld
8 module Greeter
9
10 # TODO: add proto service documentation here
11 class Service
12
13 include GRPC::GenericService
14
15 self.marshal_class_method = :encode
16 self.unmarshal_class_method = :decode
17 self.service_name = 'helloworld.Greeter'
18
19 rpc :SayHello, HelloRequest, HelloReply
20 end
21
22 Stub = Service.rpc_stub_class
23 end
24 end
OLDNEW
« no previous file with comments | « third_party/grpc/examples/ruby/lib/helloworld.rb ('k') | third_party/grpc/examples/ruby/lib/route_guide.rb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698