Igosuki / signalr-rs

Actix Websocket based implementation of Signalr
MIT License
19 stars 6 forks source link

Customize SSL connection and SignalR commection query #2

Closed gwierzchowski closed 3 years ago

gwierzchowski commented 3 years ago

We tried to use this crate to establish connection to some our proprietary SignalR server. It turned out that some settings hardcoded into HubClient are not good for our server.

This PR does not provide full-featured customizations, but allows us to change some settings that emable us connecting to our proprietary SignalR queue.

I noticed that provided bitrex example didi not work on Windows 10 system bacause it did not liked its SSL certificate, so I disabled it in example applying some introduced features.

Igosuki commented 3 years ago

Thanks for this, I'll do a code review when I have time

Igosuki commented 3 years ago

I took your code and wrote #3 , which also improves the crate, let me know if it is good for you.