Keep-Alive Connection Example [Curl/Bash Code]

This page shows how to establish a persistent connection to a server using the Connection and Keep-Alive headers. The Connection: keep-alive request header indicates that the client requires a persistent connection. Keep-Alive: timeout = 5, max = 100 sets the timeout value. The Curl/Bash code was automatically generated for the Keep Alive Connection example.
Loading...