mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
522 B
25 lines
522 B
10 years ago
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
|
# Source: helloworld.proto for package 'helloworld'
|
||
|
|
||
|
require 'grpc'
|
||
|
require 'helloworld'
|
||
|
|
||
|
module Helloworld
|
||
|
module Greeter
|
||
|
|
||
|
# TODO: add proto service documentation here
|
||
|
class Service
|
||
|
|
||
|
include GRPC::GenericService
|
||
|
|
||
|
self.marshal_class_method = :encode
|
||
|
self.unmarshal_class_method = :decode
|
||
|
self.service_name = 'helloworld.Greeter'
|
||
|
|
||
10 years ago
|
rpc :SayHello, HelloRequest, HelloReply
|
||
10 years ago
|
end
|
||
|
|
||
|
Stub = Service.rpc_stub_class
|
||
|
end
|
||
|
end
|