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

Side by Side Diff: third_party/grpc/src/ruby/bin/math_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: math.proto for package 'math'
3
4 require 'grpc'
5 require 'math'
6
7 module Math
8 module Math
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 = 'math.Math'
18
19 rpc :Div, DivArgs, DivReply
20 rpc :DivMany, stream(DivArgs), stream(DivReply)
21 rpc :Fib, FibArgs, stream(Num)
22 rpc :Sum, stream(Num), Num
23 end
24
25 Stub = Service.rpc_stub_class
26 end
27 end
OLDNEW
« no previous file with comments | « third_party/grpc/src/ruby/bin/math_server.rb ('k') | third_party/grpc/src/ruby/bin/noproto_client.rb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698