doc tweak

This commit is contained in:
Benjamin Sergeant 2018-09-27 15:43:31 -07:00
parent 863f0517a2
commit 9b007b1a6a

View File

@ -157,6 +157,6 @@ webSocket.setOnMessageCallback(
The url can be set and queried after a websocket object has been created. You will have to call `stop` and `start` if you want to disconnect and connect to that new url. The url can be set and queried after a websocket object has been created. You will have to call `stop` and `start` if you want to disconnect and connect to that new url.
``` ```
std::string url = 'wss://example.com' std::string url("wss://example.com");
websocket.configure(url); websocket.configure(url);
``` ```