Use base URL instead of host and port options
momocow opened this issue · comments
牛牛 commented
用 base URL 讓SDK用戶自訂位址, 以更進一步支援例如反向代理的網路環境。
原先 URL 組成
ws://{host}:{port}/<event|api>[?access_token={token}]
變更為
ws://{baseUrl}/<event|api>[?access_token={token}]
牛牛 commented
可參考 CQWebsocket建構子測試