-
Notifications
You must be signed in to change notification settings - Fork 366
$client = new Client(new Version2X('wss:// #188
Comments
Could you dump the |
Hello, My $urltchat =>
My function
My error message dumped :
` |
This doesn't give me what I want. What I want is |
That is still not what I want. <?php
use ElephantIO\Client;
use ElephantIO\Engine\SocketIO\Version2X;
use ElephantIO\Exception\ServerConnectionFailureException;
try {
$client = new Client(new Version2X('wss://'.$url));
$client->initialize();
$client->close();
} catch (ServerConnectionFailureException $e) {
dump($e->getErrorMessage());
} catch (\Exception $e){
Log::debug('<<<ERR curlWws:'.print_r($e->getMessage(),true));
} something along those lines. I need the result of the |
I 've replace this line By And i have a new error message :
|
The error is pretty explicit, your php configuration doesn't seem to know the You either need to declare the protocol (through the https://www.php.net/manual/en/class.streamwrapper.php class), or you could use another protocol such as |
Thanks, I'm not understand for declare "wss" protocol : have you a code ? You speak french ? |
Hello,
I would like to use elephantio with wss, but it does not work.
I have the following error message:
how can I fix this problem ??
Thanks.
The text was updated successfully, but these errors were encountered: