open

open(closeFirst: Boolean): Boolean;

The open method of the JadeHTTPConnection class opens an HTTP connection.

If the HTTP connection is currently open and you want it closed before a new connection is opened, set the closeFirst parameter to true.

The url property must be set before the connection can be opened.

This method returns true if the open operation was successful; otherwise it returns false.

The value of the state property is set to State_NeedRequest if the open action was successful; otherwise it is set to State_Failure if it was unsuccessful.