Route.Makemodule E : Descriptormodule Request : Request.S with type t = E.Request.tmodule Response :
Response.S with type t = E.Response.t with type Error.t = E.Response.Error.tmodule Error : sig ... endval http_request : Request.t -> Http_types.Request.thttp_request req constructs http request for Request.t.
val dispatch :
?timeout:Core.Time_ns.Span.t ->
Http_client.t ->
Request.t ->
(Response.t, Error.t) Core.Result.t Async.Deferred.tdispatch ?timeout client req constructs http request and dispatches using Http_client.t.
val dispatch_exn :
?here:Stdlib.Lexing.position ->
?timeout:Core.Time_ns.Span.t ->
Http_client.t ->
Request.t ->
Response.t Async.Deferred.tdispatch_exn ?timeout client req constructs http request and dispatches using Http_client.t.