add reconnect example/test file
authorStricted <info@stricted.de>
Wed, 1 Jul 2015 07:31:55 +0000 (09:31 +0200)
committerStricted <info@stricted.de>
Wed, 1 Jul 2015 07:31:55 +0000 (09:31 +0200)
tests/reconnect.php [new file with mode: 0644]

diff --git a/tests/reconnect.php b/tests/reconnect.php
new file mode 100644 (file)
index 0000000..3934d37
--- /dev/null
@@ -0,0 +1,6 @@
+<?php
+require_once('config.php');
+print_r($sp->changeConnectionStatus('offline'));
+print_r($sp->reconnectLte());
+print_r($sp->changeConnectionStatus('online'));
+$sp->logout();