Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ix::initNetSystem();
- ix::WebSocket webSocket;
- ix::SocketTLSOptions tlsOptions;
- tlsOptions.caFile = "ca.crt";
- webSocket.setTLSOptions(tlsOptions);
- std::string url("wss://localhost:8080");
- //std::string url("wss://192.168.230.138:8080"); //Cannot connect to the ip
- webSocket.setUrl(url);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement