keepalive/

directory
v1.28.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2020 License: Apache-2.0

README

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

Directories

Path Synopsis
Binary client is an example client.
Binary client is an example client.
Binary server is an example server.
Binary server is an example server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL