aboutsummaryrefslogtreecommitdiff
path: root/portal/lib/ws/portal.ml
diff options
context:
space:
mode:
Diffstat (limited to 'portal/lib/ws/portal.ml')
-rw-r--r--portal/lib/ws/portal.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/portal/lib/ws/portal.ml b/portal/lib/ws/portal.ml
index b0fe295..6e4a231 100644
--- a/portal/lib/ws/portal.ml
+++ b/portal/lib/ws/portal.ml
@@ -4,6 +4,8 @@ open Js_of_ocaml
let jss = Js.string
let sjs = Js.to_string
+type t = string Lwt_stream.t * (string option -> unit)
+
(* sic. XEP-0156: "host-meta files MUST be fetched only over HTTPS". I don't make the rules. *)
let well_known_of (domain : string) = "https://" ^ domain ^ "/.well-known/host-meta"