Xbase++
Xbase++
Example: Http.GetCacheRoot method
Demonstrates theGetCacheRoot method.
Chilkat Xbase++ Downloads
LOCAL oHttp
oHttp := CreateObject("Chilkat.Http")
// Establish 2 cache root directories.
oHttp:AddCacheRoot("c:/example/httpCacheA/")
oHttp:AddCacheRoot("c:/example/httpCacheB/")
? "Number of cache roots: " + Str(oHttp:NumCacheRoots)
? "1st cache root: " + oHttp:GetCacheRoot(0)
? "2nd cache root: " + oHttp:GetCacheRoot(1)
// Output:
// Number of cache roots: 2
// 1st cache root: c:/example/httpCacheA/
// 2nd cache root: c:/example/httpCacheB/
oHttp:destroy()