libstackexchange-0.3.0.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, Profunctor p) => p (SE a) (f (SE t)) -> p (Maybe Value) (f (Maybe Value))Source

Isomorphism for the ease of interaction with aeson-lens