whixp 2.0.0-beta1 whixp: ^2.0.0-beta1 copied to clipboard
Streamline Your XMPP Messaging with Lightweight Dart-Based XMPP Client
import 'package:whixp/whixp.dart';
void main() {
final whixp = Whixp(
'vsevex@example.com/desktop',
'passwd',
host: 'example.com',
logger: Log(enableError: true, enableWarning: true),
);
whixp.connect();
whixp.addEventHandler('sessionStart', (_) {
whixp.getRoster();
whixp.sendPresence();
});
}