Comments (3)
cl.on('close'), function() {
console.log(this);
});
from xmpp.js.
Closed due to lack of movement in several months. If this is still a question please let me know, cheers, Lloyd.
from xmpp.js.
I run the example code.
The online message showed up successfully.
But when I close the wifi connection, the offline / disconnect / close event were not fired.
How can I detect disconnect event ?
@xmpp/clinet 0.3.0
from xmpp.js.
Related Issues (20)
- An example of using websocket and jwt
- Need to evaluate the library for use with React Native based app
- SASL negotiation fails if 'mechanisms' contains boundary white spaces HOT 2
- How to implement this function
- Calling 'stop()' sometimes leads to the client being 'disconnected' HOT 3
- bad-namespace-prefix HOT 2
- Uncaught Error: Module "crypto" has been externalized for browser compatibility. Cannot access "crypto.randomBytes" in client code. HOT 3
- Node JS crash: Uncaught exception "Connection is closing" HOT 1
- Cannot read properties of null (reading 'once') in 'promise.js'
- is their any way to get online users list
- Getting not-authorized error when using valid user with ejabberd HOT 1
- video calls HOT 1
- Error: WebSocket is not open: readyState 2 (CLOSING)
- Does not reconnect when disconnect isn't clean HOT 6
- Does xmpp.js support SASL EXTERNAL auth?
- in band registration Not working using node-xmpp
- Stuck on open stage does not goes to "online" state
- Stream-management ack for websocket connection in react native.
- Error: notarget No matching version found for @xmpp/debug@^0.13.1.
- in react-native app,use xmppClient.stop() api, will report errors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmpp.js.