Curl Command With Keep-Alive Connection Header [Java Code]
An example of a Curl request with connection and keep-alive headers. The Connection header is passed with the -H "Connection: keep-alive" command-line parameter. The Keep-Alive header is passed with the -H "Keep-Alive: timeout=5, max=100" command-line parameter. The Java code was automatically generated for the Curl Keep Alive Connection Header example.