package terminus-hlc

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

It provides an API call system relying on Http_lwt_client.

type 'a io = ('a, [ `Msg of string ]) Lwt_result.t
val return : 'a -> 'a io
val map : ('a -> 'b) -> 'a io -> 'b io
val bind : ('a -> 'b io) -> 'a io -> 'b io
val fail : Terminus__S.error -> 'a io
val get : headers:Terminus__S.headers -> url:string -> string io
val post : headers:Terminus__S.headers -> url:string -> string -> string io
val put : headers:Terminus__S.headers -> url:string -> string -> string io
val delete : headers:Terminus__S.headers -> url:string -> string io
OCaml

Innovation. Community. Security.