Module

Node.Restify.Response

Package
purescript-restify
Repository
freqlabs/purescript-restify

#cache Source

cache :: forall opts e. CacheControl -> opts -> Handler e

#cache' Source

cache' :: forall e. CacheControl -> Handler e

#defaultCache Source

defaultCache :: forall e. Handler e

#noCache Source

noCache :: forall e. Handler e

#charSet Source

charSet :: forall e. String -> Handler e

#setHeader Source

setHeader :: forall a e. String -> a -> Handler e

#getHeader Source

getHeader :: forall a e. Decode a => String -> HandlerM (restify :: RESTIFY | e) (Maybe a)

#statusJsonHeaders Source

statusJsonHeaders :: forall b a e. Int -> a -> b -> Handler e

#statusJson Source

statusJson :: forall a e. Int -> a -> Handler e

#json Source

json :: forall a e. a -> Handler e

#statusSendHeaders Source

statusSendHeaders :: forall b a e. Int -> a -> b -> Handler e

#statusSend Source

statusSend :: forall a e. Int -> a -> Handler e

#send Source

send :: forall a e. a -> Handler e

#statusSendRawHeaders Source

statusSendRawHeaders :: forall b a e. Int -> a -> b -> Handler e

#statusSendRaw Source

statusSendRaw :: forall a e. Int -> a -> Handler e

#sendRaw Source

sendRaw :: forall a e. a -> Handler e

#set Source

set :: forall e. String -> String -> Handler e

#setHeaders Source

setHeaders :: forall a e. a -> Handler e

#status Source

status :: forall e. Int -> Handler e

#redirect Source

redirect :: forall a e. a -> Handler e

#statusRedirect Source

statusRedirect :: forall e. Int -> String -> Handler e