package awsm-lwt

  1. Overview
  2. Docs

Module Http.IoSource

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
Sourcetype t

Monad type lifted into the app type.

Sourceval inj : 'a Lwt.t -> ('a, t) Awsm.Http.Monad.app
Sourceval prj : ('a, t) Awsm.Http.Monad.app -> 'a Lwt.t
Sourceval make_stream : 'a Lwt_stream.t -> ('a, t) Awsm.Http.Response.stream
Sourceval 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