package ldp_curl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Performing queries using Curl.

val make : ?cache:string -> ?cert:(string * string) -> dbg:(string -> unit Lwt.t) -> unit -> (module Ldp.Http.Http) Lwt.t

make ~dbg () creates a new module to perform HTTP queries. dbg is a debugging function. Optional arguments:

  • cache indicates a directory to use for cache. If none is provided, no cache is used.
  • cert is a pair (certificate file, key file) to authenticate client in SSL.
OCaml

Innovation. Community. Security.