moxxmpp_socket_tcp (0.3.1)

Published 2023-04-05 11:21:11 +00:00 by PapaTutuWawa in moxxy/moxxmpp

Installation

dart pub add moxxmpp_socket_tcp:0.3.1 --hosted-url=

About this package

A socket for moxxmpp using TCP that implements the RFC6120 connection algorithm and XEP-0368

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.

Details
Pub
2023-04-05 11:21:11 +00:00
135
6.2 KiB
Assets (1)
0.3.1.tar.gz 6.2 KiB
Versions (16) View all
0.4.0 2023-10-05
0.3.1 2023-04-05
0.3.0 2023-04-04
0.2.1 2023-01-27
0.2.0 2023-01-27