Deadpan-DDP-0.2.0.1: Write clients for Meteor's DDP Protocol

Safe HaskellNone
LanguageHaskell2010

Web.DDP.Deadpan.Comms

Description

This module includes the two basic communication primitives required for a DDP client:

  • Sending (sendEJ)
  • Recieving (getEJ)

These functions are included in a seperate module in order to avoid recursive moldule import issues.

This module is intended for internal use.

Synopsis

Documentation

sendEJ :: Connection -> EJsonValue -> IO () Source

Sends an EJsonValue to the server over the connection provided.

getEJ :: Connection -> IO (Maybe EJsonValue) Source

Possibly gets an EJsonValue from the server over the connection provided