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

[ bsd3, library, web ] [ Propose Tags ] [ Report a vulnerability ]

Servant support for the Content-Type of application/xml. Anything with ToXml and FromXml instances can be automatically marshalled.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0, 1.0.1, 1.0.1.1, 1.0.1.2, 1.0.1.3, 1.0.1.4, 1.0.2, 1.0.3
Change log CHANGELOG.md
Dependencies base (>=4.7 && <5), bytestring, http-media (>=0.7), servant (>=0.11), xmlbf (>=0.7), xmlbf-xeno (>=0.2.2) [details]
License BSD-3-Clause
Copyright 2018 - 2024 Colin Woodbury
Author Colin Woodbury
Maintainer colin@fosskers.ca
Category Web
Home page https://github.com/fosskers/servant-xml
Uploaded by fosskers at 2024-01-31T07:54:55Z
Distributions LTSHaskell:1.0.3, NixOS:1.0.3, Stackage:1.0.3
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 3572 total (22 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-01-31 [all 1 reports]

Readme for servant-xml-1.0.3

[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. Types with a FromXml instance can be decoded from request bodies.

In implementing these typeclass instances, you can use the primatives found in the xmlbf library.