Module Morph__.Server
type handler= Opium_core.Service.t(Morph.Request.t, Morph.Response.t);A
handlertakes aRequest.tand returns aResponse.twrapepd in aLwt.tSee
Opium_core.Service.tfor documentation on Services.
type middleware= Opium_core.Filter.simple(Morph.Request.t, Morph.Response.t);A
middlewaretakes ahandlerand returns ahandler.See
Opium_core.Filter.tfor documentation on Filters.
type t={start: handler => Lwt.t(unit),port: int,};A
Server.tis a record that describes a server.
