moxxmpp/packages/moxxmpp_socket_tcp
2023-06-17 21:28:54 +02:00
..
integration_test feat(meta): Remove log redaction 2023-04-02 14:38:32 +02:00
lib feat(tests): Add an integration test for SASL2 2023-04-02 17:20:14 +02:00
.gitignore refactor: Move packages into packages/ 2022-11-08 20:05:22 +01:00
.metadata refactor: Move packages into packages/ 2022-11-08 20:05:22 +01:00
.pubignore fix: Fix reconnections when the connection is awaited 2022-11-12 21:49:13 +01:00
analysis_options.yaml fix(moxxmpp{,_socket_tcp): Fix path to analysis_options.yaml 2022-11-12 12:42:19 +01:00
CHANGELOG.md release: Version 0.3.1 2023-04-05 13:20:16 +02:00
LICENSE refactor: Move packages into packages/ 2022-11-08 20:05:22 +01:00
pubspec_overrides.yaml feat(xep): Implement an OMEMO example client 2023-06-17 21:28:54 +02:00
pubspec.yaml release: Version 0.3.1 2023-04-05 13:20:16 +02:00
README.md feat: Add docs for including a tagged version 2023-01-10 12:25:56 +01:00

moxxmpp_socket

A socket for moxxmpp that implements the connection algorithm as specified by RFC6210 and XEP-0368, while also supporting StartTLS and direct TLS.

In order to make this package independent of Flutter, I removed DNS SRV resolution from the package. The TCPSocketWrapper contains a method called srvQuery that can be overridden by the user. It takes the domain to query and a DNSSEC flag and is expected to return the list of SRV records, encoded by MoxSrvRecord objects. To perform the resolution, one can use any DNS library. A Flutter plugin implementing SRV resolution is, for example, moxdns.

Usage

Include the following as a dependency in your pubspec file:

 moxxmpp_socket_tcp:
    hosted: https://git.polynom.me/api/packages/Moxxy/pub
    version: 0.1.2+9

License

See ./LICENSE.

Support

If you like what I do and you want to support me, feel free to donate to me on Ko-Fi.