Idris2Doc : Stellar.HTTP

Stellar.HTTP

(source)

Reexports

importpublic Stellar.HTTP.Types
importpublic Stellar.API
importpublic Stellar.API.Morphism
importpublic Stellar.API.Maybe
importpublic Stellar.HTTP.Engine

Definitions

attachRouter : a=&>Maybeb-> (IO$-b) =&>End-> (IO$-a) =&>End
  helper to attach an effectful server with a router

Visibility: export
http' : ServerConfig->Costate (IO$-PlainHTTP) ->IO ()
  Run a server given a costate in PlainHTTP

Visibility: export
httpJSON : ServerConfig->Costate (IO$-JSONHTTP) ->IO ()
  Run a server given a costate in JSONHTTP, ensure each request has a content-type=application/json

Visibility: export
httpJSONNoCheck : ServerConfig->Costate (IO$-JSONHTTP) ->IO ()
  Run a server given a costate in JSONHTTP, does not check for content-type

Visibility: export