yaml-rpc-1.0.3: Simple library for network (HTTP REST-like) YAML RPC

Safe HaskellNone

Network.YAML.Caller

Synopsis

Documentation

class Connection c whereSource

This class will be extended in future.

Methods

connectUri :: c -> StringSource

Instances

callSource

Arguments

:: (ToJSON args, Connection srv, FromJSON result, MonadIO m) 
=> srv

Server connection; in simplest case - URL of service

-> Text

Method name

-> args

Method arguments

-> m result 

Call remote method