socket.io-client-cpp
socket.io-client-cpp copied to clipboard
Support both HTTP(none tls) and HTTPS(tls) in one package?
Support both HTTP(none tls) and HTTPS(tls) in one package?
I found that when compliled with tls, HTTP protocol doesn't work. When complied with none_tls,HTTPS protocol doesn't work. How to compiile the code to both support HTTP and HTTPS?
Afaik, you can't not w/o modifying the code. My gut feeling is you'll have to add two different namespace to avoid clash.
You would probably want to take a look at PR #137 .
Thank you. Do you have plan to merge #137 into master?
Unfortunately, I'm not the owner of this repository.
@jianjunz Has anything changed? Rebuilding to support either http or https is terrible...