Implementation of server-side streaming via GRPC
The client on run reads URL from flags, then makes GRPC call to the server, which makes HTTP GET request to passed URL and returns the result to the client via GRPC stream with chunks in 1024 bytes.
git clone https://github.com/dmi-kov/grpc-client-server.git
cd grpc-client-server
make build
./grpc-server
- in another terminal
./grpc-client -url=http://google.com
Run make help
to see all commands.