niv / websocket.nim

websockets for nim
http://niv.github.io/websocket.nim/docs/0.1.1/websocket.html
Other
101 stars 25 forks source link

Use httpclient instead of custom HTTP request logic for client. #57

Closed dom96 closed 4 years ago

dom96 commented 4 years ago

This was failing when requesting via cloudflare.

metagn commented 4 years ago

As said in #58, httpclient does not consider wss but only considers https for SSL. Either a change to httpclient is made allowing for other protocols or new PR with a workaround is made whatever works is fine

dom96 commented 4 years ago

bah, wouldn't it be easier to just fix this instead of reverting completely?