API changes, add documentation
This commit is contained in:
parent
7b5476874d
commit
21c3a1b3cd
6 changed files with 124 additions and 32 deletions
|
|
@ -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
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue