We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Websocket as a native ping. We shall rely on it.
This matter of fact actually do NOT satisfy me at all: it's too violent...
I asked ChatGPT to use websocket ping with your library.
final channel = IOWebSocketChannel.connect( 'wss://example.com/socket', // URL du serveur WebSocket pingInterval: Duration(seconds: 10), // Envoie un ping toutes les 10 secondes ); // Écouter les messages du serveur channel.stream.listen( (message) { print('Message reçu : $message'); }, onDone: () { print('Connexion terminée'); }, onError: (error) { print('Erreur : $error'); }, );
The text was updated successfully, but these errors were encountered:
@chibenwa This might interest you
Sorry, something went wrong.
https://developer.mozilla.org/en-US/docs/Web/API/WebSocket#instance_methods
Natively for web, there's no ping method
ping
tddang-linagora
No branches or pull requests
Desc
Websocket as a native ping. We shall rely on it.
This matter of fact actually do NOT satisfy me at all: it's too violent...
I asked ChatGPT to use websocket ping with your library.
The text was updated successfully, but these errors were encountered: