package paf

  1. Overview
  2. Docs
HTTP/AF and MirageOS

Install

Dune Dependency

Authors

Maintainers

Sources

paf-0.1.0.tbz
sha256=24826310211b6a36aea306d7a2dd7dbed883853a4601089208163400764ec993
sha512=2fb74889bad5d5a9164fa77618de1f96a89037a7fbe9b8f849933188fc2432ab4be99b298b871a2831e421963667a974bea3a329a471b5ab0b0787552d622f56

doc/paf.mirage/Paf_mirage/Make/TLS/index.html

Module Make.TLSSource

Sourcemodule FLOW : sig ... end
Sourcetype error = [
  1. | `Read of TCP.error
  2. | `Tls_alert of Tls.Packet.alert_type
  3. | `Tls_failure of Tls.Engine.failure
  4. | `Write of TCP.write_error
]
Sourcetype write_error = [
  1. | `Closed
  2. | `Read of TCP.error
  3. | `Tls_alert of Tls.Packet.alert_type
  4. | `Tls_failure of Tls.Engine.failure
  5. | `Write of TCP.write_error
]
Sourceval pp_error : error Fmt.t
Sourceval pp_write_error : write_error Fmt.t
Sourceval read : flow -> (Cstruct.t Mirage_flow.or_eof, error) result Lwt.t
Sourceval write : flow -> Cstruct.t -> (unit, write_error) result Lwt.t
Sourceval writev : flow -> Cstruct.t list -> (unit, write_error) result Lwt.t
Sourceval close : flow -> unit Lwt.t
Sourceval reneg : ?authenticator:X509.Authenticator.t -> ?acceptable_cas:X509.Distinguished_name.t list -> ?cert:Tls.Config.own_cert -> ?drop:bool -> flow -> (unit, write_error) result Lwt.t
Sourceval key_update : ?request:bool -> flow -> (unit, write_error) result Lwt.t
Sourceval client_of_flow : Tls.Config.client -> ?host:[ `host ] Domain_name.t -> FLOW.flow -> (flow, write_error) result Lwt.t
Sourceval server_of_flow : Tls.Config.server -> FLOW.flow -> (flow, write_error) result Lwt.t
Sourceval epoch : flow -> (Tls.Core.epoch_data, unit) result
OCaml

Innovation. Community. Security.