grpc-go/examples/features/keepalive
eshitachandwani 5fd98530cf
examples: improve package comments (#7658)
2024-10-07 10:28:35 -07:00
..
client examples: improve package comments (#7658) 2024-10-07 10:28:35 -07:00
server examples: improve package comments (#7658) 2024-10-07 10:28:35 -07:00
README.md examples: add keepalive example (#2637) 2019-02-14 16:58:00 -08:00

README.md

Keepalive

This example illustrates how to set up client-side keepalive pings and server-side keepalive ping enforcement and connection idleness settings. For more details on these settings, see the full documentation.

go run server/main.go
GODEBUG=http2debug=2 go run client/main.go