package ldp_tls
Library to build LDP applications using TLS
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-ldp-0.5.0.tar.gz
md5=fee838e51dd241528ad271c6ef56345a
sha512=cbb718fb10fbc12c3b2f38a57d87e6af13e108699bf5a812cc490ed3397ed9c0f5d2793b5848c7e6d75a47dd10cfa87ba8bacc119f01733f22cc116ea045b27f
doc/ldp_tls/Ldp_tls/index.html
Module Ldp_tls
Source
Performing queries using Cohttp
and Tls
.
Errors from the Tls library.
tls_error msg
calls Ldp.Types.error
with Tls_error msg
.
Same as tls_error
but uses Ldp.Types.fail
instead.
Source
val make :
?cache_impl:(module Ldp.Http.Cache) ->
?cache_dir:string ->
?authenticator:X509.Authenticator.t ->
?cert:(string * string) ->
dbg:(string -> unit Lwt.t) ->
unit ->
(module Ldp.Http.Http) Lwt.t
make ?cache_dir ?cache_impl ?authenticator ~cert:(pemfile, privkeyfile) ~dbg
creates a new module to perform HTTP queries. dbg
is a debugging function. Optional arguments:
cache_impl
indicates a cache implementation to use,cache
indicates a directory to use for cache, if nocache_impl
is provided. If none is provided, no cache is used.authenticator
indicates the way to authentify a server; default is no authentification.cert
is a pair(certificate file, key file)
to authenticate client in SSL.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>