libstackexchange-0.2.1.0: StackExchange API interface

Safe HaskellNone

Network.StackExchange.Response

Contents

Description

Get response from Request and retrieve data from it

Synopsis

Schedule request

data SEException Source

StackExchange invalid response exception

Constructors

SEException 

Fields

_data :: ByteString

Recieved data

_error :: String

Parser/libstackexchange errors

askSE :: Request Ready n r -> IO rSource

Send Request and parse response

Iso lens

se :: (Functor f, Isomorphic k) => k (SE a -> f (SE a)) (Maybe Value -> f (Maybe Value))Source

Isomorphism for the ease of interaction with aeson-lens