package ldp_tls

  1. Overview
  2. Docs
Library to build LDP applications using TLS

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-ldp-0.1.0.tar.bz2
md5=a5400f9f16b8140dac263e026515d317
sha512=f6e8410363be8948f5c59704c4c635d398249e8378c0184323fccddac145f7e3c59b90da2b3a0e195478b279ec07a007af49daee1e18a53f2072d0b25c1f6bc3

doc/ldp_tls/Ldp_tls/index.html

Module Ldp_tlsSource

Performing queries using Cohttp and Tls.

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

make ?cache ~cert:(pemfile, privkeyfile) ~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.