Lianja
Lianja
Example: Http.GetCacheRoot method
Demonstrates theGetCacheRoot method.
Chilkat Lianja Downloads
loHttp = createobject("CkHttp")
// Establish 2 cache root directories.
loHttp.AddCacheRoot("c:/example/httpCacheA/")
loHttp.AddCacheRoot("c:/example/httpCacheB/")
? "Number of cache roots: " + str(loHttp.NumCacheRoots)
? "1st cache root: " + loHttp.GetCacheRoot(0)
? "2nd cache root: " + loHttp.GetCacheRoot(1)
// Output:
// Number of cache roots: 2
// 1st cache root: c:/example/httpCacheA/
// 2nd cache root: c:/example/httpCacheB/
release loHttp