HTTPConnection.Default
Syntax:
Parameters:
<Host> (required)
Server host, with which the connection is established.
Note: Host name should not contain protocol indication. For example, 1c.ru.
<Port> (optional)
Connection server port.
Default value for HTTP connections is 80, for secure HTTPS connections - 443.
Default value: default port for the protocol.
<User> (optional)
Name of a user on the specified server.
<Password> (optional)
Password for a user on the specified server.
<Proxy> (optional)
Proxy used to connect to server.
<Timeout> (optional)
Defines timeout for connection and operations in seconds.
0 - timeout is not set.
Default value: 0.
<SecureConnection> (optional)
Contains secure connection object for HTTPS connection if specified.
Default value: Undefined.
<UseOSAuthentication> (optional)
Includes use of NTLM or Negotiate authorization on the server.
Default value: False.
Description:
Example:
ProxyServer = New InternetProxy; ProxyServer.User = UserName; ProxyServer.Password = UserPassword ; Try HTTP = New HTTPConnection(SourceServer,,,, ProxyServer); Except EndTry; |