Appcelerator
Developer Center
Signup
|
Login
Get Started
Q&A
Docs
AppU Training
Products
Get Help
Developer Blog
Titanium.Network.HTTPClient.setBasicCredentials
function
0.7.0
Set the basic authentication credentials
Arguments
Name
Type
Description
username
String
The username to use or an empty String to use none.
password
String
The password to use or an empty String to use none.
Return Type
String
Desktop API Reference
Titanium
Titanium.API
Titanium.Analytics
Titanium.App
Titanium.Codec
Titanium.Database
Titanium.Desktop
Titanium.Filesystem
Titanium.JSON
Titanium.Media
Titanium.Network
Methods
addConnectivityListener
createHTTPClient
createHTTPCookie
createHTTPServer
createIPAddress
createIRCClient
createTCPSocket
decodeURIComponent
encodeURIComponent
getHTTPProxy
getHTTPSProxy
getHostByAddress
getHostByName
removeConnectivityListener
setHTTPProxy
setHTTPSProxy
Properties
online
Titanium.Notification
Titanium.Platform
Titanium.Process
Titanium.UI
Titanium.UpdateManager
Titanium.Worker