name: Deadpan-DDP version: 0.2.0.1 synopsis: Write clients for Meteor's DDP Protocol description: The Deadpan-DDP project includes a debugging-tool, as well as a general purpose library. . is the protocol that speaks between client and server. . 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 statement. . 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 `Web.DDP.Deadpan.runClient` with . * An initial application state (this includes initial callbacks) * A set of connection parameters * A `Web.DDP.Deadpan.DSL.Deadpan` application . There are several callback-sets provided in "Web.DDP.Deadpan", however, if you want to pick in a more granular fashion, look inside "Web.DDP.Deadpan.Callbacks". . The connection parameters are the triple (Domain, Port, Path)... . For convenience the function getURI is provided to turn a URI of the form into the triple (Right ("localhost", 3000, "websocket"))... or an error (Left "error message"). . Refer to the on Github for more information. homepage: http://github.com/sordina/Deadpan-DDP license: MIT license-file: LICENSE author: Lyndon Maydwell maintainer: maydwell@gmail.com build-type: Simple cabal-version: >=1.10 Extra-Source-Files: changelog.md library exposed-modules: Data.EJson, Data.EJson.EJson, Data.EJson.Prism, Data.EJson.Aeson, Web.DDP.Deadpan, Web.DDP.Deadpan.Callbacks, Web.DDP.Deadpan.Comms, Web.DDP.Deadpan.DSL, Web.DDP.Deadpan.Websockets build-depends: base >= 4 && < 5, websockets, network, text, unordered-containers, base64-bytestring, aeson, scientific, bytestring, vector, convertible, lens, network-uri, safe, mtl, containers, stm, transformers hs-source-dirs: src default-language: Haskell2010 executable deadpan main-is: Main.hs build-depends: base >= 4 && < 5, websockets, network, text, unordered-containers, base64-bytestring, aeson, scientific, bytestring, vector, convertible, lens, network-uri, safe, mtl, containers, stm, transformers hs-source-dirs: src default-language: Haskell2010