forked from boostorg/beast
Update Example code in documentation
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
1.0.0-b8
|
||||||
|
|
||||||
|
* Fix include in example code
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
1.0.0-b7
|
1.0.0-b7
|
||||||
|
|
||||||
* Fix prepare by calling init. prepare() can throw depending on the
|
* Fix prepare by calling init. prepare() can throw depending on the
|
||||||
|
@@ -131,7 +131,7 @@ int main()
|
|||||||
|
|
||||||
Establish a WebSocket connection, send a message and receive the reply:
|
Establish a WebSocket connection, send a message and receive the reply:
|
||||||
```
|
```
|
||||||
#include <beast/to_string.hpp>
|
#include <beast/core/to_string.hpp>
|
||||||
#include <beast/websocket.hpp>
|
#include <beast/websocket.hpp>
|
||||||
#include <boost/asio.hpp>
|
#include <boost/asio.hpp>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
Reference in New Issue
Block a user