Documentation

Hale.Warp.Network.Wai.Handler.Warp.Date

@[reducible, inline]

The type of the Date header value (formatted HTTP date string).

Equations
Instances For
    def Network.Wai.Handler.Warp.withDateCache {α : Type} (action : IO GMTDateIO α) :
    IO α

    Create a cached date getter using AutoUpdate. The returned IO action retrieves the current cached date string. The cache is updated once per second. $$\text{withDateCache} : (\text{IO}(\text{GMTDate}) \to \text{IO}\ \alpha) \to \text{IO}\ \alpha$$

    Equations
    Instances For