feat(core): Allow implementing different negotiation strategies
Fixes #27.
This commit is contained in:
1 parent
275d6e0346
commit
03328bdf7a
19 files changed
+442
-287
No files matched your search
@@ -61,6 +61,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
final XmppConnection connection = XmppConnection(
|
||||
RandomBackoffReconnectionPolicy(1, 60),
|
||||
AlwaysConnectedConnectivityManager(),
|
||||
ClientToServerNegotiator(),
|
||||
// The below causes the app to crash.
|
||||
//ExampleTcpSocketWrapper(),
|
||||
// In a production app, the below should be false.
|
||||
|
||||
Reference in new issue
Block a user