AutoIt
AutoIt
Example: Http.GetCacheRoot method
Demonstrates theGetCacheRoot method.
Chilkat AutoIt Downloads
$oHttp = ObjCreate("Chilkat.Http")
; Establish 2 cache root directories.
$oHttp.AddCacheRoot "c:/example/httpCacheA/"
$oHttp.AddCacheRoot "c:/example/httpCacheB/"
ConsoleWrite("Number of cache roots: " & $oHttp.NumCacheRoots & @CRLF)
ConsoleWrite("1st cache root: " & $oHttp.GetCacheRoot(0) & @CRLF)
ConsoleWrite("2nd cache root: " & $oHttp.GetCacheRoot(1) & @CRLF)
; Output:
; Number of cache roots: 2
; 1st cache root: c:/example/httpCacheA/
; 2nd cache root: c:/example/httpCacheB/