aboutsummaryrefslogtreecommitdiff
path: root/portal/ws
diff options
context:
space:
mode:
authorClombrong <cromblong@egregore.fun>2025-08-17 17:19:26 +0200
committerClombrong <cromblong@egregore.fun>2025-08-17 17:19:26 +0200
commit426ea69bcd708b2ecf0ec6555059de02125b3d68 (patch)
tree3f4b386d85a58c9cdbf8b06f95a4ccb2f8fad6a3 /portal/ws
parente3bfb6e8dc508b1af0e3c10db3dadac6f2d25143 (diff)
feat(portal): make stream and push immutable
Diffstat (limited to 'portal/ws')
-rw-r--r--portal/ws/portal.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/portal/ws/portal.ml b/portal/ws/portal.ml
index 5afd725..5da3117 100644
--- a/portal/ws/portal.ml
+++ b/portal/ws/portal.ml
@@ -23,8 +23,8 @@ let domain_of_string (s : string) : domain = s
let domain_to_string (s : domain) : string = s
type t = {
- mutable stream : (signal, async) stream;
- mutable push : (signal, sync) stream option -> unit;
+ stream : (signal, async) stream;
+ push : (signal, sync) stream option -> unit;
mutable _socket : socket;
}