aboutsummaryrefslogtreecommitdiff
path: root/portal/ws
diff options
context:
space:
mode:
Diffstat (limited to 'portal/ws')
-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 5cfc88a..f14a2ab 100644
--- a/portal/ws/portal.ml
+++ b/portal/ws/portal.ml
@@ -7,6 +7,8 @@ let sjs = Js.to_string
type t = (signal, async) stream * ((signal, sync) stream option -> unit)
+type socket = WebSockets.webSocket Js.t
+
let xmlns = "urn:ietf:params:xml:ns:xmpp-framing"
(* sic. XEP-0156: "host-meta files MUST be fetched only over HTTPS". I don't make the