servant-xml: Servant support for the XML Content-Type

[ bsd3, library, web ] [ Propose Tags ]

Servant support for the Content-Type of application/xml. Anything with a Xmlbf.ToXml instance can be automatically marshalled.


[Skip to Readme]
Versions [RSS] [faq] 1.0.0, 1.0.1, 1.0.1.1, 1.0.1.2, 1.0.1.3, 1.0.1.4
Dependencies base (>=4.7 && <5), bytestring, http-media (==0.7.*), servant (>=0.11 && <0.13), xmlbf (==0.3.*) [details]
License BSD-3-Clause
Copyright 2018 Colin Woodbury
Author Colin Woodbury
Maintainer colingw@gmail.com
Category Web
Home page https://github.com/fosskers/servant-xml
Uploaded by fosskers at 2018-03-06T00:00:49Z
Distributions NixOS:1.0.1.4, Stackage:1.0.1.4
Downloads 2603 total (20 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-03-06 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates


Readme for servant-xml-1.0.0

[back to package description]

servant-xml

Servant support for XML.

Types with a ToXml instance will be automatically marshalled into XML and successfully returned by Servant endpoints. In implementing toXml, you can use the element and text primatives found in the xmlbf library.