aboutsummaryrefslogtreecommitdiff
path: root/portal/ws/portal.ml
diff options
context:
space:
mode:
authorClombrong <cromblong@egregore.fun>2025-06-28 09:28:03 +0200
committerClombrong <cromblong@egregore.fun>2025-06-28 09:28:03 +0200
commit67f965c53375cece3d21b519a27d023e7c05c990 (patch)
tree372448c1399e67039290b072720343fc82326e29 /portal/ws/portal.ml
parent5483070246cebb3a9dce06a237d0561f8caa02fd (diff)
feat(portal_ws): implement starttls function
Diffstat (limited to 'portal/ws/portal.ml')
-rw-r--r--portal/ws/portal.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/portal/ws/portal.ml b/portal/ws/portal.ml
index 496806d..ad1eb86 100644
--- a/portal/ws/portal.ml
+++ b/portal/ws/portal.ml
@@ -153,3 +153,5 @@ let connect domain =
|> to_lwt_stream
|> Lwt_stream.iter (fun s -> ws_push (Some s)));
{stream; push; _socket=ws}
+
+let starttls _ = Lwt.fail_with "STARTTLS is unimplemented in WebSockets."