-
Notifications
You must be signed in to change notification settings - Fork 6
API
Micheal Harker edited this page Aug 7, 2014
·
5 revisions
Initialise a server connection using the info parameter. info can be a javascript object representing server details or an array of multiple server details.
var client = Client({
'name': 'freenode', // Optional
'host': 'chat.freenode.net', // Required
'port': 6697, // Optional
'ssl': true, // Optional
'nick': 'nickname', // Required
'username': 'test', // Optional
'realname': 'Testing Robot' // Optional
});