exh-1.0.2: A library for crawling exhentai
Safe HaskellNone
LanguageHaskell2010

Web.Exhentai.API.MPV

Description

MPV (multi-page viewer) API.

Synopsis

Documentation

data DispatchRequest Source #

Constructors

DispatchRequest 

Instances

Instances details
Eq DispatchRequest Source # 
Instance details

Defined in Web.Exhentai.API.MPV

Show DispatchRequest Source # 
Instance details

Defined in Web.Exhentai.API.MPV

ToJSON DispatchRequest Source # 
Instance details

Defined in Web.Exhentai.API.MPV

(k ~ A_Lens, a ~ Maybe Server, b ~ Maybe Server) => LabelOptic "exclude" k DispatchRequest DispatchRequest a b Source # 
Instance details

Defined in Web.Exhentai.API.MPV

(k ~ A_Lens, a ~ Int, b ~ Int) => LabelOptic "galleryId" k DispatchRequest DispatchRequest a b Source # 
Instance details

Defined in Web.Exhentai.API.MPV

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "imgKey" k DispatchRequest DispatchRequest a b Source # 
Instance details

Defined in Web.Exhentai.API.MPV

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "mpvKey" k DispatchRequest DispatchRequest a b Source # 
Instance details

Defined in Web.Exhentai.API.MPV

(k ~ A_Lens, a ~ Int, b ~ Int) => LabelOptic "page" k DispatchRequest DispatchRequest a b Source # 
Instance details

Defined in Web.Exhentai.API.MPV

data Server Source #

Constructors

HAtH Int 
Other Text 

Instances

Instances details
Eq Server Source # 
Instance details

Defined in Web.Exhentai.API.MPV

Methods

(==) :: Server -> Server -> Bool #

(/=) :: Server -> Server -> Bool #

Show Server Source # 
Instance details

Defined in Web.Exhentai.API.MPV

ToJSON Server Source # 
Instance details

Defined in Web.Exhentai.API.MPV

FromJSON Server Source # 
Instance details

Defined in Web.Exhentai.API.MPV

(k ~ A_Prism, a ~ Int, b ~ Int) => LabelOptic "_HAtH" k Server Server a b Source # 
Instance details

Defined in Web.Exhentai.API.MPV

(k ~ A_Prism, a ~ Text, b ~ Text) => LabelOptic "_Other" k Server Server a b Source # 
Instance details

Defined in Web.Exhentai.API.MPV

newtype Dim Source #

Constructors

Dim Int 

Instances

Instances details
Eq Dim Source # 
Instance details

Defined in Web.Exhentai.API.MPV

Methods

(==) :: Dim -> Dim -> Bool #

(/=) :: Dim -> Dim -> Bool #

Show Dim Source # 
Instance details

Defined in Web.Exhentai.API.MPV

Methods

showsPrec :: Int -> Dim -> ShowS #

show :: Dim -> String #

showList :: [Dim] -> ShowS #

FromJSON Dim Source # 
Instance details

Defined in Web.Exhentai.API.MPV

(k ~ An_Iso, a ~ Int, b ~ Int) => LabelOptic "_Dim" k Dim Dim a b Source # 
Instance details

Defined in Web.Exhentai.API.MPV

Methods

labelOptic :: Optic k NoIx Dim Dim a b #

buildRequest :: Effs '[Http, Error HttpException, Cookie, ConduitIO, Bracket, Throw ExhentaiError] m => Gallery -> m [DispatchRequest] Source #

Build dispatch requests for a gallery