libstackexchange-0.2.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, Isomorphic k) => k (SE a -> f (SE a)) (Value -> f Value)Source

Isomorphism lens for the ease of interaction with generic aeson parser lenses