aboutsummaryrefslogtreecommitdiff
path: root/portal/test/js
diff options
context:
space:
mode:
authorClombrong <clombrong@egregore.fun>2025-05-29 22:32:05 +0200
committerClombrong <cromblong@egregore.fun>2025-05-29 22:32:05 +0200
commit94ca2d0a5052edbba7a629254cf509d8f8aff6a8 (patch)
tree3e38a78576d9aabfc7ebd9920bbed6ab1b4ae39d /portal/test/js
parentb2bb4644c85f055fb2cfed1e0726044c7e85d00f (diff)
feat(portal): make portal_ws an implementation of portal
Diffstat (limited to 'portal/test/js')
-rw-r--r--portal/test/js/websockets_hello.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/portal/test/js/websockets_hello.ml b/portal/test/js/websockets_hello.ml
index 795135e..5705dc9 100644
--- a/portal/test/js/websockets_hello.ml
+++ b/portal/test/js/websockets_hello.ml
@@ -19,9 +19,9 @@ let () =
run @@
let domain = "egregore.fun" in
let* stream, push =
- Portal_ws.connect domain in
- push (Some (Portal_ws.stanza_open domain));
- push (Some Portal_ws.stanza_close);
+ Portal.connect domain in
+ push (Some (Portal.stanza_open domain));
+ push (Some Portal.stanza_close);
Lwt_stream.iter
(fun stanza ->
print_endline (">>> " ^ stanza))