Skip to content

frnkly/learning-grpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning to use gRPC

A simple Docker container for playing around with gRPC. Use the following command to run a bash shell inside the container:

# Build the Docker container and run a bash shell:
./run shell

From within the container, you may run any of the sample code from the gRPC repository:

# Run the C++ "Hello World" example.
./run shell
cd ~/grpc/examples/cpp/helloworld
make
./greeter_server

# Then, run the following in a separate terminal. Using `./run shell` a second
# time connects to the running container instead of creating a new one.
./run shell
cd ~/grpc/examples/cpp/helloworld
./greeter_client

C++ streaming client