Idris2Doc : HTTP.API.Client.Interface

HTTP.API.Client.Interface

(source)

Reexports

importpublic HTTP.API
importpublic HTTP.API.Client.Request

Definitions

interfaceReceive : Type->Type
Parameters: a
Methods:
0RecConstraint : a->Type
  Auto-implicit argument required by and passed to the
utility functions of this interface.
0RecTypes : a->ListType
  Types of values extracted from the HTTP request
in function `fromRequest`.
recs : (v : a) ->TList (RecTypesv)
  `TList` representation of `RecTypes`. This is required
to split the `RecTypes` of several endpoint descriptions and
pass each of them to the proper description.
adjRequest : (v : a) ->RecConstraintv=>HList (RecTypesv) ->HTTPRequest->HTTPRequest

Implementations:
ReceiveReqContent
ReceiveReqHeaders
ReceiveReqMethod
ReceiveReqPath
ReceiveReqEnv
ReceiveReqQuery
0RecConstraint : Receivea=>a->Type
  Auto-implicit argument required by and passed to the
utility functions of this interface.

Totality: total
Visibility: public export
0RecTypes : Receivea=>a->ListType
  Types of values extracted from the HTTP request
in function `fromRequest`.

Totality: total
Visibility: public export
recs : {auto__con : Receivea} -> (v : a) ->TList (RecTypesv)
  `TList` representation of `RecTypes`. This is required
to split the `RecTypes` of several endpoint descriptions and
pass each of them to the proper description.

Totality: total
Visibility: public export
adjRequest : {auto__con : Receivea} -> (v : a) ->RecConstraintv=>HList (RecTypesv) ->HTTPRequest->HTTPRequest
Totality: total
Visibility: public export
interfaceGetResponse : Type->Type
Parameters: a
Methods:
0RespEncodings : a->ListType
0RespTypes : a->ListType

Implementations:
GetResponseReqContent
GetResponseReqHeaders
GetResponseReqMethod
GetResponseReqPath
GetResponseReqQuery
0RespEncodings : GetResponsea=>a->ListType
Totality: total
Visibility: public export
0RespTypes : GetResponsea=>a->ListType
Totality: total
Visibility: public export
0AllRespTypes : AllGetResponsets=>HListts->ListType
Totality: total
Visibility: public export
0AllRespEncodings : AllGetResponsets=>HListts->ListType
Totality: total
Visibility: public export
0AllRecTypes : AllReceivets=>HListts->ListType
  Computes the list of type of values used to adjust the HTTP request
by a single endpoint description.

Totality: total
Visibility: public export
0AllRecConstraints : AllReceivets=>HListts->ListType
  Computes the list of type of constraints used to adjust the HTTP request
by a single endpoint description.

Totality: total
Visibility: public export
endpointRequest : (endpoint : HListts) -> {autoall : AllReceivets} ->HList (AllRecConstraintsendpoint) =>HList (AllRecTypesendpoint) ->HTTPRequest->HTTPRequest
Totality: total
Visibility: export