nested-routes-0.3.1: Declarative, compositional Wai responses

Safe HaskellNone
LanguageHaskell2010

Web.Routes.Nested.FileExtListener.Builder

Synopsis

Documentation

builder :: Monad m => FileExt -> RequestHeaders -> Builder -> FileExtListenerT Response m () Source

A builder is ambiguous, therefore we require RequestHeaders and a FileExt to be explicitly supplied.

builderStatus :: Monad m => FileExt -> Status -> RequestHeaders -> Builder -> FileExtListenerT Response m () Source

builderOnly :: RequestHeaders -> Builder -> Response Source

builderOnlyStatus :: Status -> RequestHeaders -> Builder -> Response Source

The exact same thing as Network.Wai.responseBuilder.