Idris2Doc : HTTP.Prog

HTTP.Prog

(source)

Reexports

importpublic FS.Posix
importpublic HTTP.RequestErr
importpublic IO.Async.Logging
importpublic IO.Async.Loop.Posix
importpublic IO.Async.Posix
importpublic IO.Async.Service

Definitions

0HTTPProg : ListType->Type->Type
  A server programm runs in the `Async` monad and requires
polling capabilities.

@ es : types of errors a program can fail with
@ a : result type

Totality: total
Visibility: public export
0HTTPLogger : Type
  Logger used in a HTTP server

Totality: total
Visibility: public export
0HTTPPull : Type->ListType->Type->Type
  A `Pull` running in the `Async` monad and requiring
polling capabilities.

@ o : type of values emitted by the pull
@ es : types of errors a pull can fail with
@ r : result type

Totality: total
Visibility: public export
0HTTPStream : ListType->Type->Type
  A `Stream` running in the `Async` monad and requiring
polling capabilities.

A `Stream` is just an alias for a `Pull` with result type `Unit`.

@ es : types of errors a pull can fail with
@ o : type of values emitted by the pull

Totality: total
Visibility: public export
0HTTPService : (req : Type) -> (req->Type) ->Type
  An asynchronous service use to process HTTP requests.

Totality: total
Visibility: public export
0ErrorHandler : Type->Type
  A handler for error type `e`.

Totality: total
Visibility: public export
0Handler : Type->Type
Totality: total
Visibility: public export