We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c1920d commit 7a2dfa9Copy full SHA for 7a2dfa9
1 file changed
src/xmpp_stream_in.erl
@@ -115,7 +115,10 @@
115
-callback tls_required(state()) -> boolean().
116
-callback tls_enabled(state()) -> boolean().
117
-callback allow_unencrypted_sasl2(state()) -> boolean().
118
--callback sasl_mechanisms([xmpp_sasl:mechanism()], state()) -> [xmpp_sasl:mechanism()].
+-callback sasl_mechanisms([xmpp_sasl:mechanism()], state()) ->
119
+ [xmpp_sasl:mechanism()] |
120
+ {[xmpp_sasl:mechanism()], [xmpp_sasl:mechanism()]} |
121
+ {[xmpp_sasl:mechanism()], [xmpp_sasl:mechanism()], boolean()}.
122
-callback sasl_options(state()) -> [tuple()].
123
-callback unauthenticated_stream_features(state()) -> [xmpp_element()].
124
-callback authenticated_stream_features(state()) -> [xmpp_element()].
0 commit comments