package awsm-lwt

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include Awsm.Http.Io.S with type 'a s := 'a Lwt.t and type 'a stream := 'a Lwt_stream.t
include Awsm.Http.Monad.S with type 'a s := 'a Lwt.t
type t

Monad type lifted into the app type.

val inj : 'a Lwt.t -> ('a, t) Awsm.Http.Monad.app
val prj : ('a, t) Awsm.Http.Monad.app -> 'a Lwt.t
val monad : t Awsm.Http.Monad.t
val make_stream : 'a Lwt_stream.t -> ('a, t) Awsm.Http.Response.stream
val make_http : (Awsm.Http.Meth.t -> Awsm.Http.Request.t -> Uri.t -> (t Awsm.Http.Response.t, 'error) Core.result Lwt.t) -> (t, 'error) Awsm.Http.Call.t
val call : ?endpoint_url:string -> cfg:Awsm.Cfg.t -> service:Awsm.Service.t -> Awsm.Http.Meth.t -> Awsm.Http.Request.t -> Uri.t -> ((t Awsm.Http.Response.t, Awsm.Http.Io.Error.call) Core.result, t) Awsm.Http.Monad.app
OCaml

Innovation. Community. Security.