From 2331768992badd355822d4d9c23f734c44184a4f Mon Sep 17 00:00:00 2001 From: Clombrong Date: Sun, 29 Jun 2025 18:20:14 +0200 Subject: feat(starttls): add config type --- lib/starttls.ml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/starttls.ml b/lib/starttls.ml index 714defe..fafda66 100644 --- a/lib/starttls.ml +++ b/lib/starttls.ml @@ -1,6 +1,10 @@ open Lwt.Syntax open Xml +type config = { + prefer_starttls : bool + } + exception TLSError (** [STARTTLSFailure] is thrown if the server doesn't allow the STARTTLS negotiation to -- cgit v1.2.3