1-877-909-4589
plans and pricing
sign up
Login
platform
titanium sdk
titanium studio
appcelerator analytics
appcelerator advantage
sign up
plans and pricing
cloud services
marketplace
think mobile
blog
surveys
showcase
videos
get help
support services
professional services
strategy workshops
training
q&a
support portal
partners
integration partners
technology partners
training partners
company
news
leadership
investors
board
awards
jobs
developers
docs
training
developer blog
q&a
devlink
Show Inherited
Show Accessors
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.Filesystem
Titanium.JSON
Titanium.Media
Titanium.Network
Methods
addConnectivityListener
createHTTPClient
createHTTPCookie
createHTTPServer
createIPAddress
createIRCClient
createTCPSocket
decodeURIComponent
encodeURIComponent
getFirstIPAddress
getFirstMACAddress
getHTTPProxy
getHTTPSProxy
getHostByAddress
getHostByName
getInterfaces
removeConnectivityListener
setHTTPProxy
setHTTPSProxy
Properties
online
Titanium.Notification
Titanium.Platform
Titanium.Process
Titanium.UI
Titanium.UpdateManager
Titanium.Worker