package conduit-lwt-unix

  1. Overview
  2. Docs
A network connection establishment library for Lwt_unix

Install

Dune Dependency

Authors

Maintainers

Sources

conduit-8.0.0.tbz
sha256=0a63d910865b5473893a170cda51f61388f488ecf4c4b2ed7fe9ec4e2cf66f61
sha512=63c73616c5a4a6436aa9a1c8d2771d70e15789c639aaec6b9a95622aee0b364f18278e88ed769fbae84fefb817bef1c9c81fe41e969f03db99612295a159b536

doc/src/conduit-lwt-unix/conduit_lwt_tls.ml.html

Source file conduit_lwt_tls.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 1 "src/conduit-lwt-unix/conduit_lwt_tls.dummy.ml"
module X509 = struct
  let private_of_pems ~cert:_ ~priv_key:_ = failwith "Tls not available"

  type authenticator = unit

  let default_authenticator = lazy ()
end

module Client = struct
  let connect ?src:_ ?certificates:_ ~authenticator:_ _host _sa =
    failwith "Tls not available"

  let tunnel ?certificates:_ ~authenticator:_ _host _ioc =
    failwith "Tls not available"
end

module Server = struct
  let init' ?backlog:_ ?stop:_ ?timeout:_ _tls _sa _callback =
    failwith "Tls not available"

  let init ?backlog:_ ~certfile:_ ~keyfile:_ ?stop:_ ?timeout:_ _sa _callback =
    failwith "Tls not available"
end

let available = false
OCaml

Innovation. Community. Security.