We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 134af57 commit 8bc0159Copy full SHA for 8bc0159
README.md
@@ -31,11 +31,12 @@ import {
31
global.Buffer = global.Buffer || require('buffer').Buffer
32
33
var xmpp = require('reactnative-xmpp');
34
-
+ // Use canonicalHost as the host name on the Jabber server and when you need to connect to any host other than localhost
35
var conf = {login: 'user2',
36
password: 'Chelsea@100',
37
domain: 'localhost',
38
- host: 'localhost'};
+ host: 'localhost',
39
+ canonicalHost: 'localhost'};
40
var client = new xmpp.Client(conf);
41
42
0 commit comments