Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
- sendEJ :: Connection -> EJsonValue -> IO ()
- getEJ :: Connection -> IO (Maybe EJsonValue)
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