Idris2Doc : HTTP.API

HTTP.API

(source)

Reexports

importpublic Data.Buffer
importpublic Data.ByteString
importpublic Data.List.Quantifiers
importpublic Data.Maybe0
importpublic HTTP.API.Content
importpublic HTTP.API.Endpoints
importpublic HTTP.API.Decode
importpublic HTTP.API.Encode
importpublic HTTP.API.Env
importpublic HTTP.API.Header
importpublic HTTP.API.Method
importpublic HTTP.API.Path
importpublic HTTP.API.Query
importpublic HTTP.API.TList
importpublic HTTP.Header
importpublic HTTP.Method
importpublic HTTP.RequestErr
importpublic HTTP.Status
importpublic HTTP.URI

Definitions

0Fun : ListType->Type->Type
  Computes a function type from a list of argument types and a result type.

This is used to compute the function type of handler of a single
server endpoint.

Totality: total
Visibility: public export
0ResultType : ListType->Type
  Computes the result type the handler of a server endpoint.

For convenience in downstream code, we only return a heterogeneous list
in case several values are required to make adjustments to the HTTP
response. In case of no value or a single value being required, we return
`Unit` or the a single value, respectively.

Totality: total
Visibility: public export
applyHList : HListts->Funtsr->r
Totality: total
Visibility: export
wrapResult : TListts->ResultTypets->HListts
  converts a `ResultType` to a heterogeneous list

Totality: total
Visibility: export