mirror of https://github.com/grpc/grpc-node.git
|
|
||
|---|---|---|
| .. | ||
| README.md | ||
| client.js | ||
| server.js | ||
README.md
Keepalive
This example illustrates how to set up client-side keepalive pings and server-side keepalive pings and connection age and idleness settings.
Start the server
node server.js
Start the client
GRPC_TRACE=transport,keepalive GRPC_VERBOSITY=DEBUG node client.js