projects
/
GitHub
/
Stricted
/
speedport-hybrid-php-api.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
809e25b
)
add reconnect example/test file
author
Stricted
<info@stricted.de>
Wed, 1 Jul 2015 07:31:55 +0000
(09:31 +0200)
committer
Stricted
<info@stricted.de>
Wed, 1 Jul 2015 07:31:55 +0000
(09:31 +0200)
tests/reconnect.php
[new file with mode: 0644]
patch
|
blob
diff --git a/tests/reconnect.php
b/tests/reconnect.php
new file mode 100644
(file)
index 0000000..
3934d37
--- /dev/null
+++ b/
tests/reconnect.php
@@ -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();