package current_web

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

A webhook is a (name, handler) pair.

val run : ?mode:Conduit_lwt_unix.server -> ?webhooks:webhook list -> Current.Engine.t -> ('a, [ `Msg of string ]) result Lwt.t

run ~mode engine runs a web-server (with configuration mode) showing the state of engine.

  • parameter webhooks

    A list of name, handler pairs. Requests to "/webhook/$name" are sent to handler.

OCaml

Innovation. Community. Security.