Signed_route.Makemodule E : sig ... endmodule 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 Signer : sig ... endmodule Error : sig ... endval http_request : C.t -> Request.t -> Http_types.Request.thttp_request req constructs a signed http request for Request.t.
val dispatch :
?timeout:Core.Time_ns.Span.t ->
Http_client.t ->
C.t ->
Request.t ->
(Response.t, Error.t) Core.Result.t Async.Deferred.tdispatch ?timeout client signer req constructs a signed http request and dispatches using Http_client.t.
val dispatch_exn :
?here:Stdlib.Lexing.position ->
?timeout:Core.Time_ns.Span.t ->
Http_client.t ->
C.t ->
Request.t ->
Response.t Async.Deferred.tdispatch_exn ?timeout client signer req constructs a signed http request and dispatches using Http_client.t.