- 博客(1)
- 收藏
- 关注
原创 python的grpc如何通过域名形式传输消息给对方
import grpcimport compute_pb2import compute_pb2_grpc_HOST = 'www.xxx.com'_PORT = '5555'def main(): with grpc.insecure_channel("{0}:{1}".format(_HOST, _PORT)) as channel: client = compute_pb2_grpc.ComputeStub(channel=channel) res...
2020-05-28 19:12:53
870
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人