Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
newtype AddHeader name a Source #
Instances
Functor (AddHeader name) Source # | |
(UnwindHeaders hs, KnownSymbol name, ToHttpApiData typ) => UnwindHeaders (AddHeader name typ ': hs) Source # | |
Defined in Web.Minion.Response.Header |
newtype RawHeaderValue Source #
Instances
ToHttpApiData RawHeaderValue Source # | |
Defined in Web.Minion.Response.Header toUrlPiece :: RawHeaderValue -> Text # toEncodedUrlPiece :: RawHeaderValue -> Builder # toHeader :: RawHeaderValue -> ByteString # toQueryParam :: RawHeaderValue -> Text # |
data AddHeaders hs a Source #
Instances
CanRespond a => CanRespond (AddHeaders hs a :: Type) Source # | |
Defined in Web.Minion.Response.Header canRespond :: [ByteString] -> Bool Source # | |
(ToResponse m a, UnwindHeaders hs, Monad m) => ToResponse m (AddHeaders hs a) Source # | |
Defined in Web.Minion.Response.Header toResponse :: [ByteString] -> AddHeaders hs a -> m Response Source # | |
Functor (AddHeaders hs) Source # | |
Defined in Web.Minion.Response.Header fmap :: (a -> b) -> AddHeaders hs a -> AddHeaders hs b # (<$) :: a -> AddHeaders hs b -> AddHeaders hs a # |
class UnwindHeaders hs where Source #
unwindHeaders :: HList hs -> [Header] Source #
Instances
UnwindHeaders ('[] :: [Type]) Source # | |
Defined in Web.Minion.Response.Header unwindHeaders :: HList '[] -> [Header] Source # | |
(UnwindHeaders hs, KnownSymbol name, ToHttpApiData typ) => UnwindHeaders (AddHeader name typ ': hs) Source # | |
Defined in Web.Minion.Response.Header |