Safe Haskell | None |
---|
Get response from Request and retrieve data from it
- data SEException = SEException {
- _data :: ByteString
- _error :: String
- askSE :: Request Ready n r -> IO r
- render :: Request a n r -> String
- aeson :: Monad m => (a -> Parser b) -> Action m a b
- field :: (Monad m, FromJSON a) => Text -> Action m (SE x) a
- fields :: (Monad m, FromJSON a) => Text -> Action m Value [a]
Schedule request
data SEException Source
StackExchange invalid response exception
SEException | |
|
Generalized combinator
aeson :: Monad m => (a -> Parser b) -> Action m a bSource
Generalized combinator, useful if full power of Aeson is needed