moxxmpp/packages/moxxmpp_socket_tcp
2023-01-27 22:03:20 +01:00
..
integration_test fix: A certificate rejection does not crash the connection 2022-11-12 20:57:39 +01:00
lib fix: Add the closure expectation to the event 2023-01-14 12:41:17 +01: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 chore(release): publish packages 2022-11-26 15:48:48 +01:00
LICENSE refactor: Move packages into packages/ 2022-11-08 20:05:22 +01:00
pubspec_overrides.yaml refactor: Move packages into packages/ 2022-11-08 20:05:22 +01:00
pubspec.yaml fix: Bump version requirement for moxxmpp 2023-01-27 22:03:20 +01: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.