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

Side by Side Diff: third_party/grpc/examples/ruby/lib/route_guide_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: route_guide.proto for package 'routeguide'
3
4 require 'grpc'
5 require 'route_guide'
6
7 module Routeguide
8 module RouteGuide
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 = 'routeguide.RouteGuide'
18
19 rpc :GetFeature, Point, Feature
20 rpc :ListFeatures, Rectangle, stream(Feature)
21 rpc :RecordRoute, stream(Point), RouteSummary
22 rpc :RouteChat, stream(RouteNote), stream(RouteNote)
23 end
24
25 Stub = Service.rpc_stub_class
26 end
27 end
OLDNEW
« no previous file with comments | « third_party/grpc/examples/ruby/lib/route_guide.rb ('k') | third_party/grpc/examples/ruby/route_guide/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698