Skip to content

Commit 13bb38c

Browse files
author
Johann Saunier
committedAug 4, 2015
Merge pull request #1 from cristhianfernandez01/master
Add a isConnected public method for the client
2 parents 8149ea3 + c9af958 commit 13bb38c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎Wamp/Client.php

+8
Original file line numberDiff line numberDiff line change
@@ -365,4 +365,12 @@ protected function generateKey($length = 16)
365365

366366
return base64_encode(substr($tmp, 0, $length));
367367
}
368+
369+
/**
370+
* @return bool
371+
*/
372+
public function isConnected()
373+
{
374+
return $this->connected;
375+
}
368376
}

0 commit comments

Comments
 (0)