Visual FoxPro
Visual FoxPro
Example: Http.GetCacheRoot method
Demonstrates theGetCacheRoot method.
Chilkat Visual FoxPro Downloads
LOCAL loHttp
loHttp = CreateObject('Chilkat.Http')
* 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