|
| Network.XmlRpc.Internals | | Portability | non-portable (requires extensions and non-portable libraries) | | Stability | experimental | | Maintainer | bjorn@bringert.net |
|
|
|
|
|
| Description |
This module contains the core functionality of the XML-RPC library.
Most applications should not need to use this module. Client
applications should use Network.XmlRpc.Client and server applications should
use Network.XmlRpc.Server.
The XML-RPC specifcation is available at http://www.xmlrpc.com/spec.
|
|
| Synopsis |
|
|
|
|
| Method calls and repsonses
|
|
|
| An XML-RPC method call. Consists of a method name and a list of
parameters.
| | Constructors | |
|
|
|
| An XML-RPC response.
| | Constructors | | Return Value | A method response returning a value
| | Fault Int String | A fault response
|
|
|
|
| XML-RPC types
|
|
|
| An XML-RPC value.
| | Constructors | |
|
|
|
| An XML-RPC value. Use for error messages and introspection.
| | Constructors | | TInt | | | TBool | | | TString | | | TDouble | | | TDateTime | | | TBase64 | | | TStruct | | | TArray | | | TUnknown | |
|
|
|
| class XmlRpcType a where | Source |
|
| A class for mapping Haskell types to XML-RPC types.
| | | Methods | | | Convert from this type to a Value
| | | | Convert from a Value to this type. May fail if
if there is a type error.
| | |
|
|
|
| Converting from XML
|
|
|
| Parses a method response from XML.
|
|
|
| Parses a method call from XML.
|
|
|
|
|
|
|
|
| Converting to XML
|
|
|
| Makes an XML-representation of a method call.
FIXME: pretty prints ugly XML
|
|
|
| Makes an XML-representation of a method response.
FIXME: pretty prints ugly XML
|
|
| Error monad
|
|
|
| The format for "dateTime.iso8601"
|
|
|
| :: Monad m | | | => String | The Maybe value.
| | -> Maybe a | The resulting value in the monad.
| | -> m a | | | Convert a Maybe value to a value in any monad
|
|
|
|
| Handle errors from the error monad.
|
|
|
| Catch IO errors in the error monad.
|
|
| Produced by Haddock version 2.6.0 |