ssCore.HTTP.start

Makes a connection to the host server using the supplied port, host, authentication, proxy (etc.) information.


Availability:

First available in version 3.0 build 2039.


Input Parameters:

connectMode - [Optional] - Allows you to control how the connection is made. By default, the plugin will attempt to use proxy settings defined in Internet Explorer. Setting the connectMode to "direct" forces the plugin to ignore all proxy settings and make a direct connection. Valid values include: direct.


Output Parameters:

No output parameters.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.HTTP.start( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.HTTP.start( paramsObject );


Notes:

At minimum, the HTTP.host and HTTP.resource properties must be set before calling HTTP.start.

If HTTP.start fails, you should not attempt to continue the download process.

                

Examples:

ssCore.HTTP.start();