wreq-0.4.1.0: An easy-to-use HTTP client library.

Safe HaskellNone
LanguageHaskell98

Network.Wreq.Cache

Documentation

shouldCache :: UTCTime -> Req -> Response body -> Maybe (CacheEntry body)

validateEntry :: UTCTime -> CacheEntry body -> Maybe (Response body)

cacheStore :: Int -> IO (Run body -> Run body)