Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.

HelpWanted #32

Closed
undefined-moe opened this issue Oct 13, 2018 · 3 comments
Closed

HelpWanted #32

undefined-moe opened this issue Oct 13, 2018 · 3 comments
Milestone

Comments

@undefined-moe
Copy link

想在网页中使用通知,需要https连接,此时无法使用websocket协议
能否改用wss://进行传输?

@momocow
Copy link
Owner

momocow commented Oct 15, 2018

啊, 確實協議目前無法自訂變更, 會在下個版本加入更彈性的方式指定遠端酷Q。

謝謝回報~

@momocow momocow modified the milestones: v2.0.0, v1.7.0 Oct 15, 2018
momocow pushed a commit that referenced this issue Oct 15, 2018
…tocol field

BREAKING CHANGE: option "baseUrl" now takes precedence over option "host" when specifying the remote CQHTTP
server.

fix #32
momocow pushed a commit that referenced this issue Oct 15, 2018
momocow pushed a commit that referenced this issue Oct 15, 2018
descriptions for new option "protocol" and the new remote url decision algorithm.

docs #32
momocow pushed a commit that referenced this issue Oct 15, 2018
momocow pushed a commit that referenced this issue Oct 15, 2018
descriptions for new option "protocol" and the new remote url decision algorithm.

docs #32
momocow added a commit that referenced this issue Oct 15, 2018
@momocow
Copy link
Owner

momocow commented Oct 15, 2018

🎉 This issue has been resolved in version 1.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@momocow
Copy link
Owner

momocow commented Oct 15, 2018

@masnn 可以參考測試代碼的寫法, 使用 protocol host port 這幾個選項指定遠端 CQHTTP 的 ws 服務器, 或是直接將 wss: 寫進 baseUrl 選項中。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants