Skip to content

samkithkjain/gRPCImageStreamingExample

Repository files navigation

gRPC - Simple Server Streaming and Interceptors in Python

  • The example simply generate 10 random images at the server side and streams them when a client call is made.
  • On the client side we have an interceptor which will log the time stamp of images received.

To regenerate python server/client code:

python -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. image_transfer.proto

To run server

python3 imageStreamingServer.py

To run client

python3 imageStreamingClient.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published