B4X
B4X
Example: Http.GetCacheRoot method
Demonstrates theGetCacheRoot method.
Chilkat B4X Downloads
Dim http As ChilkatHttp
http.Initialize("http")
' Establish 2 cache root directories.
http.AddCacheRoot("c:/example/httpCacheA/")
http.AddCacheRoot("c:/example/httpCacheB/")
Log("Number of cache roots: " & http.NumCacheRoots)
Log("1st cache root: " & http.GetCacheRoot(0))
Log("2nd cache root: " & http.GetCacheRoot(1))
' Output:
' Number of cache roots: 2
' 1st cache root: c:/example/httpCacheA/
' 2nd cache root: c:/example/httpCacheB/