def SayHello(self, hello_request, context):
print("Greeter server received: " + hello_request.name)
hello_reply = helloworld_pb2.HelloReply()
hello_reply.message = 'Hello {name}'.format(name=hello_request.name)
return hello_reply
评论列表
文章目录