mirror of https://github.com/grpc/grpc-node.git
17 lines
296 B
Markdown
17 lines
296 B
Markdown
# 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
|
|
```
|