server package:haxr
This module contains the server functionality of XML-RPC. The XML-RPC
specifcation is available at
http://www.xmlrpc.com/spec.
A simple CGI-based XML-RPC server application:
import Network.XmlRpc.Server
add :: Int -> Int -> IO Int
add x y = return (x + y)
main = cgiXmlRpcServer [("examples.add", fun add)]
A CGI-based XML-RPC server. Reads a request from standard input and
writes some HTTP headers (Content-Type and Content-Length), followed
by the response to standard output. Supports introspection.