Idris2Doc : TyTTP.HTTP.Consumer

TyTTP.HTTP.Consumer

(source)

Reexports

importpublic Data.List.Quantifiers

Definitions

interfaceAccept : Type->Type
Parameters: t
Methods:
contentType : (ty : Type) ->ty=t=>ListString

Implementation: 
Consumerat->Acceptt
contentType : Acceptt=> (ty : Type) ->ty=t=>ListString
Visibility: public export
dataIsAccept : Type->Type
Totality: total
Visibility: public export
Constructor: 
ItIsAccept : Acceptt=>IsAcceptt
ConsumerError : Type
Visibility: public export
interfaceConsumer : Type->Type->Type
Parameters: a, t
Constraints: Accept t
Methods:
consumeRaw : (ty : Type) ->ty=t=>String->Buffer->EitherConsumerErrora
consumeRaw : Consumerat=> (ty : Type) ->ty=t=>String->Buffer->EitherConsumerErrora
Visibility: public export
dataIsConsumer : Type->Type->Type
Totality: total
Visibility: public export
Constructor: 
ItIsConsumer : Consumerat=>IsConsumerat
unsafeConsumeBody : Errore=>HasIOm=>MonadPromiseemp=> (Contextmeuvh1sh2Bufferb->MonadPromiseemp'=>p' (Contextme'u'v'h1's'h2'a'b')) ->Contextmeuvh1sh2 (PublishermeBuffer) b->p (Contextme'u'v'h1's'h2'a'b')
  This function consumes the stream from the underlying server, thus the original stream cannot be used twice.
If you make sure that the original stream is not used twice, then this function can be used.

Visibility: export
consumes : Errore=>MonadTranst=>MonadPromiseeIOm=>Alternative (tm) =>HasContentTypeh1=> (list : ListType) ->NonEmptylist=>AllIsAcceptlist=>All (IsConsumera) list=> (Contextmeuvh1sh2 (EitherConsumerErrora) b->MonadPromiseeIOm'=>m' (Contextme'u'v'h1's'h2'a'b')) ->Contextmeuvh1sh2 (PublisherIOeBuffer) b->tm (Contextme'u'v'h1's'h2' (PublisherIOeBuffer) b')
Visibility: export
consumes' : Errore=>MonadTranst=>MonadPromiseeIOm=>Alternative (tm) =>HasContentTypeh1=> (list : ListType) ->NonEmptylist=>AllIsAcceptlist=>All (IsConsumera) list=> (Contextmeuvh1sh2ConsumerErrorb->MonadPromiseeIOm'=>m' (Contextme'u'v'h1's'h2'a'b')) -> (Contextmeuvh1sh2ab->MonadPromiseeIOm''=>m'' (Contextme'u'v'h1's'h2'a''b')) ->Contextmeuvh1sh2 (PublisherIOeBuffer) b->tm (Contextme'u'v'h1's'h2' (PublisherIOeBuffer) b')
Visibility: export