Commit Graph

9 Commits (a6709a1f711e5058237005afa42bb19e8942a09b)

Author SHA1 Message Date
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 8fb3e33a1f Only do ensurePort for XMPP transport
If we always do this the address gets mangled, breaking the transport
selection.
5 years ago
Wichert Akkerman 06a76160c8 Use transport factory function 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
Wichert Akkerman 96fccbd399 Split out TransportConfiguration
This allows using the same transport configuration from both clients and components.
5 years ago
Wichert Akkerman a3c62e515e Introduce Transport interface 5 years ago