diff options
Diffstat (limited to 'include/ejabberd_http.hrl')
| -rw-r--r-- | include/ejabberd_http.hrl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/ejabberd_http.hrl b/include/ejabberd_http.hrl index 8b8fab2b0..25209f76c 100644 --- a/include/ejabberd_http.hrl +++ b/include/ejabberd_http.hrl @@ -23,8 +23,7 @@ path = [] :: [binary()], q = [] :: [{binary() | nokey, binary()}], us = {<<>>, <<>>} :: {binary(), binary()}, - auth :: {binary(), binary()} | - {auth_jid, {binary(), binary()}, jlib:jid()}, + auth :: {binary(), binary()} | {oauth, binary(), []} | undefined, lang = <<"">> :: binary(), data = <<"">> :: binary(), ip :: {inet:ip_address(), inet:port_number()}, @@ -35,8 +34,8 @@ headers = [] :: [{atom() | binary(), binary()}]}). -record(ws, - {socket :: inet:socket() | p1_tls:tls_socket(), - sockmod = gen_tcp :: gen_tcp | p1_tls, + {socket :: inet:socket() | fast_tls:tls_socket(), + sockmod = gen_tcp :: gen_tcp | fast_tls, ip :: {inet:ip_address(), inet:port_number()}, host = <<"">> :: binary(), port = 5280 :: inet:port_number(), |
