Commit Graph

9 Commits (390f9b065e04ee833383082ac6efb2e0952ca18e)

Author SHA1 Message Date
Wichert Akkerman 390f9b065e Replace readWriter and decoder after StartTLS 5 years ago
Wichert Akkerman a6709a1f71 Do not try to create a stream logger before we have a net.Conn 5 years ago
Wichert Akkerman 92329b48e6 Transports need to handle open/close stanzas
XMPP and WebSocket transports require different open and close stanzas. To
handle this the responsibility handling those and creating the XML decoder is
moved to the Transport.
5 years ago
Wichert Akkerman 36e153f981 Allow transports to define their own ping mechanism 5 years ago
Wichert Akkerman d0f2b492ac Fix XMPP TLS config 5 years ago
Wichert Akkerman 01d78a1e5c Fix error result from Transport.Connect errors 5 years ago
Wichert Akkerman 8db608ccc1 Add IsSecure() to Transport 5 years ago
Wichert Akkerman 7fa4b06705 Move address into transport config
This makes it possible to use a factory function to create a transport of the right type and not having to repeat the address when calling Transport.Connect()
5 years ago
Wichert Akkerman f8d0e99696 Move XMPP transport to separate file 5 years ago