Demonstration of Go HTTP/2 Server Push via (fork of
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

HTTP/2 Server Push Demonstration

# Fetch lib providing h2 server push
go get -u

# Generate demonstration SSL/TLS certificates
openssl req -x509 -newkey  rsa:2048 -keyout key.pem -out cert.pem -days 90 -nodes

# Build to local directory
go build

# Show frame dumps
export GODEBUG=http2debug=2

# View options
h2push-demo -help

See Also