grpc-swift
grpc-swift copied to clipboard
Add Bonjour Support
Is your feature request related to a problem? Please describe it.
I am working on an iOS app where one device will act as the server and other devices on the same local network will connect to the server device. I would like to use Bonjour (zeroconf) for the clients to discover the server so that the app's users don't need to mess around with IP addresses. I would like to use gRPC to send messages between the server and client devices. There is a function for SwiftNIO to bind to an NWEndpoint, but I was unable to find a similar function for gRPC Swift.
Describe the solution you'd like
On the server side, I would like gRPC Swift to be able to bind to an NWListener. On the client side, it would be able to use an NWEndpoint to establish a connection to the server.
Thanks for opening this issue, we can add this, it's a completely reasonable feature to add. I'll try to find some time to get this done soon.