Function apiety::cache_body
[−]
[src]
pub fn cache_body<T: Endpoint>(endpoint: &T) -> Result<String, Error>
Checks the folder ./data for a cached response, if it can't find it, it will perform the request and save it to ./cache