API changes, add documentation

This commit is contained in:
calzoneman 2015-10-25 17:20:39 -07:00
parent 7b5476874d
commit 21c3a1b3cd
6 changed files with 124 additions and 32 deletions

View file

@ -6,10 +6,9 @@ export default class NullClusterClient {
}
getSocketConfig(channel) {
const url = this.ioConfig.getSocketURL();
const servers = this.ioConfig.getSocketEndpoints();
return Promise.resolve({
url: url,
secure: /^(https|wss)/.test(url)
servers: servers
});
}
}