View Source RequestCache.Middleware (request_cache_plug v0.4.0)

Link to this section Summary

Link to this section Functions

Link to this function

store_result(result, ttl)

View Source
@spec store_result(
  result :: any(),
  opts_or_ttl :: RequestCache.opts() | pos_integer()
) :: {:middleware, module(), RequestCache.opts()}