package solid_tools

  1. Overview
  2. Docs
Library to build SOLID tools

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-ldp-0.5.0.tar.gz
md5=fee838e51dd241528ad271c6ef56345a
sha512=cbb718fb10fbc12c3b2f38a57d87e6af13e108699bf5a812cc490ed3397ed9c0f5d2793b5848c7e6d75a47dd10cfa87ba8bacc119f01733f22cc116ea045b27f

doc/solid_tools/Solid_tools/Common/index.html

Module Solid_tools.CommonSource

Common module to create SOLID tools. See examples in tools/ directory of source distribution.

Sourceval main : ?options:(Arg.key * Arg.spec * Arg.doc) list -> ?usage:Arg.usage_msg -> (string list -> (module Ldp.Http.Http) -> unit Lwt.t) -> unit

main ?options ?usage f will parse the command line and call f args Http. Predefined command line options allow to select a profile, use curl instead of cohttp+tls, use a cache directory, specify certificates, ...

options optional argument can be used to specify additional command line options. A specific usage message can be specified too.

The f function takes the anonymous arguments of the command line and the Ldp.Http.Http module to use to perform queries.

OCaml

Innovation. Community. Security.