This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Initializes a request and specifies the method, URL, and authentication information for the request.
Syntax
<cHTTP_Client>.Open(bstrMethod, bstrUrl [, bAsync [, bstrUser, bstrPassword]])
Returns
Number.
Parameters
Name |
Type |
Optional |
Meaning |
bstrMethod |
String |
No |
The HTTP method used to open the connection, such as PUT or PROPFIND. For ServerXMLHTTP, this parameter is case-sensitive and the method name must be entered in all upper-case letters. |
bstrUrl |
String |
No |
The requested URL. This can be either an absolute URL, such as "http://Myserver/Mypath/Myfile.asp", or a relative URL, such as "../MyPath/MyFile.asp". |
bAsync |
Number |
Yes |
Boolean. Indicator as to whether the call is asynchronous. The default is False (the call does not return immediately). |
bstrUser |
String |
Yes |
The name of the user for authentication. |
bstrPassword |
String |
Yes |
The password for authentication. This parameter is ignored if the user parameter is Null or missing. |
Remarks
After calling this method you must call the cHTTP_Client.Send method to send the request and data (if any) to the server. Each send method must have a corresponding open method.
Restrictions
See also
Examples