doc tweak
This commit is contained in:
parent
863f0517a2
commit
9b007b1a6a
@ -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);
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user