Plasma GitLab Archive
Projects Blog Knowledge

(* This example downloads a URL into a file *)

open Nethttp_client

let download url =
  let pipeline = new pipeline in
  let get_call = new get url in
  get_call # set_response_body_storage (`File (fun () -> "file"));
  pipeline # add get_call;
  pipeline # run()
;;

This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml