aboutsummaryrefslogtreecommitdiff
path: root/portal/ws
diff options
context:
space:
mode:
authorClombrong <cromblong@egregore.fun>2025-06-27 14:05:46 +0200
committerClombrong <cromblong@egregore.fun>2025-06-27 14:06:08 +0200
commit94ae313e15a8b8004c6db20573229b2ff68120d1 (patch)
treef6e0ef953c04b4dded04c5497cabb889c7c522d1 /portal/ws
parent8e8f2974fb511986fbf0b183e6209323289fc13a (diff)
feat(portal): make fields of t mutable
Diffstat (limited to 'portal/ws')
-rw-r--r--portal/ws/portal.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/portal/ws/portal.ml b/portal/ws/portal.ml
index b313471..496806d 100644
--- a/portal/ws/portal.ml
+++ b/portal/ws/portal.ml
@@ -8,9 +8,9 @@ let sjs = Js.to_string
type socket = WebSockets.webSocket Js.t
type t = {
- stream : (signal, async) stream;
- push : (signal, sync) stream option -> unit;
- _socket : socket;
+ mutable stream : (signal, async) stream;
+ mutable push : (signal, sync) stream option -> unit;
+ mutable _socket : socket;
}
let xmlns = "urn:ietf:params:xml:ns:xmpp-framing"