yaml-rpc-0.1: Simple library for network (TCP/IP) YAML RPC
Source code
Contents
Index
Network.YAML.Instances
Synopsis
object
:: [(
ByteString
,
YamlScalar
)] ->
YamlObject
field
::
IsYamlScalar
a =>
ByteString
-> a ->
YamlObject
data
Call
=
Call
{
methodName
::
ByteString
args
::
YamlObject
}
mkCall
::
ByteString
->
YamlObject
->
YamlObject
stringScalar
::
String
->
YamlScalar
yamlMethod
:: (
IsYamlObject
a,
IsYamlObject
b) => (a ->
IO
b) ->
YamlObject
->
IO
YamlObject
Documentation
object
:: [(
ByteString
,
YamlScalar
)] ->
YamlObject
Source
Build YamlObject from (key,value) pairs
field
::
IsYamlScalar
a =>
ByteString
-> a ->
YamlObject
Source
Build YamlObject with single field
data
Call
Source
Constructors
Call
methodName
::
ByteString
args
::
YamlObject
Instances
Show
Call
Default
Call
IsYamlObject
Call
ConvertSuccess
YamlObject
Call
ConvertSuccess
Call
YamlObject
mkCall
::
ByteString
->
YamlObject
->
YamlObject
Source
stringScalar
::
String
->
YamlScalar
Source
yamlMethod
:: (
IsYamlObject
a,
IsYamlObject
b) => (a ->
IO
b) ->
YamlObject
->
IO
YamlObject
Source
Convert any (a -> IO b) action to YAML RPC method
Produced by
Haddock
version 2.6.1