IHTTPTransportAdv::Authentication Method

HRESULT Authentication([in] BSTR username, [in] BSTR password);

This sets the authentication credentials for the destination server. Only basic authentication is currently supported

 

Parameters

username
BSTR, [in]: The username to use
password
BSTR, [in]: The password for the username

 

Return Values

 

Sample Code

dim t
set t = CreateObject("pocketSOAP.HTTPTransport.2")
' connect to example.org with these credentials
t.Authentication "simonfell", "password"
t.send "http://example.org/", e.serialize

 

See Also

The IHTTPTransportAdv Interface | 

 

 

Copyright

Copyright © Simon Fell, 2000-2004. All rights reserved.