commit
be879b8d42
|
|
@ -39,8 +39,7 @@ service methods, and define the parameters and return
|
||||||
types as protocol buffer message types. Both the client and the
|
types as protocol buffer message types. Both the client and the
|
||||||
server use interface code generated from the service definition.
|
server use interface code generated from the service definition.
|
||||||
|
|
||||||
Here's our example service definition, defined using protocol buffers IDL in
|
Here's our example service definition. The `Greeting`
|
||||||
[helloworld.proto](https://github.com/grpc/grpc-common/blob/master/python/helloworld/helloworld.proto). The `Greeting`
|
|
||||||
service has one method, `hello`, that lets the server receive a single
|
service has one method, `hello`, that lets the server receive a single
|
||||||
`HelloRequest`
|
`HelloRequest`
|
||||||
message from the remote client containing the user's name, then send back
|
message from the remote client containing the user's name, then send back
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue