Deadpan-DDP: Write clients for Meteor's DDP Protocol
The Deadpan-DDP project includes a debugging-tool, as well as a general purpose library.
The DDP tech-stack is: Websockets -> JSON -> EJson -> Collections -> Subscriptions + RPC.
In order to use the debugging tool, install this package and run
deadpan for a usage
In order to use the library, simply import Web.DDP.Deadpan.
The DSL monad is largely based around RPC calls and callbacks.
In order to write an application you would call
An initial application state (this includes initial callbacks)
A set of connection parameters
The connection parameters are the triple (Domain, Port, Path)...
For convenience the function getURI is provided to turn a URI of the form websocket://localhost:3000/websocket into the triple (Right ("localhost", 3000, "websocket"))... or an error (Left "error message").
Refer to the README.md on Github for more information.
|Versions||0.2.0.0, 0.2.0.1, 0.2.1.1, 0.3.0.1, 0.3.0.2, 0.4.1.0, 0.5.0.0, 0.6.0.0, 0.6.0.1, 0.7.0.0, 0.8.0.0, 0.9.0.0, 0.9.1.0, 0.9.3.0, 0.9.4.0, 0.9.5.0, 0.9.6.0|
|Dependencies||aeson, base (==4.*), base64-bytestring, bytestring, containers, hashable, haskeline (>=0.7), lens, mtl, network, network-uri, random, safe, scientific, stm, text, time (>=1.4), transformers, unordered-containers, vector, websockets [details]|
|Uploaded||by LyndonMaydwell at Thu Oct 15 23:58:20 UTC 2015|
|Downloads||6022 total (190 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
|Status||Docs available [build log]
Last success reported on 2015-10-16 [all 1 reports]
Hackage Matrix CI
For package maintainers and hackage trustees