feat(xep): Implement XEP-0114

This commit is contained in:
2023-04-04 15:48:26 +02:00
parent 63c84d9479
commit f6abf3d5b5
15 changed files with 455 additions and 167 deletions

View File

@@ -46,3 +46,15 @@ class NoAuthenticatorAvailableError extends XmppConnectionError {
@override
bool isRecoverable() => false;
}
/// Returned by the negotiation handler if unexpected data has been received
class UnexpectedDataError extends XmppConnectionError {
@override
bool isRecoverable() => false;
}
/// Returned by the ComponentToServerNegotiator if the handshake is not successful.
class InvalidHandshakeCredentialsError extends XmppConnectionError {
@override
bool isRecoverable() => false;
}