com.HTTPRequest.setKeepConnection

Defines if connection is kept open if a new request occurs.

Syntax

setKeepConnection(
   keep BOOLEAN )
  1. keep defines if the connection is kept.

Usage

The setKeepConnection() method defines whether the connection should stay open if a new HTTP request occurs.

The default is FALSE.