Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data XML
- type GetRedir = Verb 'GET 307
- type PostRedir = Verb 'POST 303
- data HTML
- mkHtml :: [Node] -> LBS
- setHttpCachePolicy :: Middleware
- module SAML2.WebSSO.Servant.CPP
Documentation
There is a tiny package `servant-xml`, which does essentially what this type and its 'Mime{,Un}Render' instances do, but inlining this package seems easier.
Instances
Accept XML Source # | |
Defined in SAML2.WebSSO.Servant | |
HasXMLRoot a => MimeRender XML a Source # | |
Defined in SAML2.WebSSO.Servant mimeRender :: Proxy XML -> a -> ByteString Source # | |
HasXMLRoot a => MimeUnrender XML a Source # | |
Defined in SAML2.WebSSO.Servant mimeUnrender :: Proxy XML -> ByteString -> Either String a Source # mimeUnrenderWithType :: Proxy XML -> MediaType -> ByteString -> Either String a Source # |
Instances
Accept HTML Source # | |
Defined in SAML2.WebSSO.Servant | |
MimeRender HTML LoginStatus Source # | |
Defined in SAML2.WebSSO.API.Example mimeRender :: Proxy HTML -> LoginStatus -> ByteString Source # | |
MimeRender HTML ST Source # | |
Defined in SAML2.WebSSO.Servant mimeRender :: Proxy HTML -> ST -> ByteString Source # | |
HasXMLRoot xml => MimeRender HTML (FormRedirect xml) Source # | |
Defined in SAML2.WebSSO.API mimeRender :: Proxy HTML -> FormRedirect xml -> ByteString Source # | |
HasXMLRoot xml => MimeUnrender HTML (FormRedirect xml) Source # | |
Defined in SAML2.WebSSO.API mimeUnrender :: Proxy HTML -> ByteString -> Either String (FormRedirect xml) Source # mimeUnrenderWithType :: Proxy HTML -> MediaType -> ByteString -> Either String (FormRedirect xml) Source # |
setHttpCachePolicy :: Middleware Source #
- 3.5.5.1
- Caching
module SAML2.WebSSO.Servant.CPP