moxxmpp/packages/moxxmpp_socket_tcp
2022-11-08 20:11:56 +01:00
..
lib refactor: Move packages into packages/ 2022-11-08 20:05:22 +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
analysis_options.yaml refactor: Move packages into packages/ 2022-11-08 20:05:22 +01:00
CHANGELOG.md feat: Fix moxxmpp_socket_tcp's pubspec 2022-11-08 20:11:56 +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 feat: Fix moxxmpp_socket_tcp's pubspec 2022-11-08 20:11:56 +01:00
README.md refactor: Move packages into packages/ 2022-11-08 20:05:22 +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.

License

See ./LICENSE.