Module type Bitcoin.HTTPCLIENT

module type HTTPCLIENT = sig .. end
Interface that any module offering HTTP POST client calls must obey. Note that the module may require POST calls to be wrapped under a custom monad, which must also be provided (use the identity monad if no actual monad is required).

module Monad: sig .. end
val post_string : headers:(string * string) list ->
inet_addr:Unix.inet_addr ->
host:string ->
port:int -> uri:string -> string -> string Monad.t