14 """The gRPC AsyncIO client for the UDS example."""
21 import helloworld_pb2_grpc
24 async
def run() -> None:
25 uds_addresses = [
'unix:helloworld.sock',
'unix:///tmp/helloworld.sock']
26 for uds_address
in uds_addresses:
27 async
with grpc.aio.insecure_channel(uds_address)
as channel:
29 response = await stub.SayHello(
31 logging.info(
'Received: %s', response.message)
34 if __name__ ==
'__main__':
35 logging.basicConfig(level=logging.INFO)