diff options
author | Clombrong <cromblong@egregore.fun> | 2025-06-26 12:07:49 +0200 |
---|---|---|
committer | Clombrong <cromblong@egregore.fun> | 2025-06-26 21:40:44 +0200 |
commit | 37d47541083c3eaf3ea9f6c3445e8ba926ee609c (patch) | |
tree | 53c5f1ce958de109d0bea898a7cc61201f531020 /portal/tcp | |
parent | d3bb6df8d8a728a10dfa6c23328c03824a24f602 (diff) |
feat(portal): add socket type
Diffstat (limited to 'portal/tcp')
-rw-r--r-- | portal/tcp/portal.ml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/portal/tcp/portal.ml b/portal/tcp/portal.ml index 290975c..bfb2cb7 100644 --- a/portal/tcp/portal.ml +++ b/portal/tcp/portal.ml @@ -4,6 +4,8 @@ open Markup type t = (signal, async) stream * ((signal, sync) stream option -> unit) +type socket = file_descr + let xmlns = "http://etherx.jabber.org/streams" exception MalformedStanza of Markup.location * Markup.Error.t |