moxxmpp/packages/moxxmpp_socket_tcp
Alexander "PapaTutuWawa ddf781daff
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix(core): Remove erroneous override
2023-10-05 20:55:41 +02:00
..
integration_test fix(core): Allow disabling logging of all incoming and outgoing data 2023-09-29 20:53:29 +02:00
lib fix(core): Allow disabling logging of all incoming and outgoing data 2023-09-29 20:53:29 +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 fix(core): Allow disabling logging of all incoming and outgoing data 2023-09-29 20:53:29 +02:00
LICENSE refactor: Move packages into packages/ 2022-11-08 20:05:22 +01:00
pubspec.yaml fix(core): Remove erroneous override 2023-10-05 20:55:41 +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.