I\'m creating a small chat application in gRPC right now and I\'ve run into the issue where if a user wants to connect to the gRPC server as a client, I\'d like to broadcast
Another approach is to spawn a grpc-server on client side too. On app-level you have some handshake from client to server to exchange the clients grpc-server ip and port. You probably want to create a client for that address at this point and store the client in a list.
Now you can push messages to the clients from the list with default unary RPC calls. No [bidi] stream needed. Pros:
Cons: