The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#) https://grpc.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Yijie Ma c3a077e184 [examples/cpp] Fix missing parentheses (#36382) 7 months ago
..
BUILD [C++ Examples] Add an example for keepalive (#33191) 2 years ago
CMakeLists.txt [examples/cpp] Fix missing parentheses (#36382) 7 months ago
README.md [C++ Examples] Add an example for keepalive (#33191) 2 years ago
greeter_callback_client.cc [C++ Examples] Add an example for keepalive (#33191) 2 years ago
greeter_callback_server.cc [C++ Examples] Add an example for keepalive (#33191) 2 years ago

README.md

gRPC C++ Keepalive Example

The keepalive example builds on the Hello World Example and changes the gRPC client and server to show a sample way of configuring keepalive pings on the client and on the server.

For more information on keepalive pings in gRPC, please refer to -

Running the example

To run the server -

$ tools/bazel run examples/cpp/keepalive:greeter_callback_server

To run the client -

$ tools/bazel run examples/cpp/keepalive:greeter_callback_client

You can find a complete set of instructions for building gRPC and running the Hello World app in the C++ Quick Start.