ssCore.HTTP.port

Select the port to be used for communications with the host server.


Availability:

First available in version 3.0 build 2039.


Input Parameters:

port - [Optional] - Any valid port number (1..65535) that is recognized by the host server, or "DEFAULT". Default value is DEFAULT.


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.port( 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.port( paramsObject );


Notes:

If you don't specify a port number, the plugin will use the default port for the protocol you have selected. The default port for "HTTP" is port "80" and the default port for "HTTPS" is "443".

                

Examples:

ssCore.HTTP.port({port:80});