Richard Hodges
8913a3cd21
Add executor rebind to test::stream
...
closes #2139
2020-12-16 21:11:29 +01:00
Richard Hodges
822722c6c3
Revert removal of deprecated lowest_layer from test::stream:
...
This reverts commit 3fb693eda6 .
2020-12-01 17:52:53 +01:00
Richard Hodges
3fb693eda6
Remove deprecated lowest_layer from test::stream.
...
refs #1934
2020-06-02 13:04:23 +02:00
Vinnie Falco
32bbd38387
Support Concepts for completion token params
2019-10-31 06:47:22 -07:00
Vinnie Falco
7cc8759261
Async init-fns use the executor's default token
2019-10-31 05:47:05 -07:00
Vinnie Falco
9f77867f0a
Fix outgoing websocket message compression
...
fix #1666
2019-07-29 10:35:41 -07:00
Vinnie Falco
3c82717fed
test::stream has deprecated lowest_layer for ssl
2019-03-29 17:31:18 -07:00
Vinnie Falco
e073a9e7fc
Tidy up docs
2019-03-05 20:15:07 -08:00
Vinnie Falco
8e2620e2b1
Doc tidy
2019-03-05 08:00:14 -08:00
Vinnie Falco
c510662c67
Add test::stream::service
2019-02-27 14:05:16 -08:00
Vinnie Falco
7953ac281f
Pass references as pointers to async_initiate
2019-02-26 07:21:05 -08:00
Vinnie Falco
0647c902ac
role_type is in boost/beast/core/role.hpp (API Change):
...
This enumeration is now part of the library core and
not specific to websocket.
2019-02-26 07:20:46 -08:00
Vinnie Falco
59bda5d9c6
basic_parser is abstract, not CRTP (API Change):
...
* `basic_parser` now uses pure virtual member functions instead
of the curiously recurring template pattern.
Actions Required:
* Change uses of the `basic_parser` type to omit the `Derived`
template parameter
* Classes derived from `basic_parser` no longer need to friend
the base.
* Virtual functions in the derived class may be marked `override`.
2019-02-23 11:15:59 -08:00
Vinnie Falco
46eb006757
Tidy up docs
2019-02-22 19:46:29 -08:00
Damian Jarek
d048aa8e7e
More split definitions in test::stream
...
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2019-02-22 17:42:44 -08:00
Vinnie Falco
6ada618c12
Check BOOST_NO_CXX11_THREAD_LOCAL
2019-02-21 11:09:02 -08:00
Vinnie Falco
d08cc82e15
Use async_initiate
2019-02-21 06:39:35 -08:00
Vinnie Falco
2b92189b65
Doc tidying
2019-02-20 19:09:21 -08:00
Vinnie Falco
79c777e776
Tidying and fixes
2019-02-18 12:18:27 -08:00
Vinnie Falco
f21358186e
Add websocket::stream timeouts
2019-02-18 12:18:27 -08:00
Vinnie Falco
f41363c60c
Add async_op_base::invoke
2019-02-16 15:09:33 -08:00
Vinnie Falco
812a19706a
Improvements to test::stream:
...
The behavior of the test stream when either
end is destroyed or closed is well-defined.
2019-02-06 21:21:25 -08:00
Vinnie Falco
adcd4bc0c9
is_completion_handler, type_traits.hpp are deprecated (API Change):
...
* is_completion_handler is deprecated
* type_traits.hpp is a deprecated include
These items will be removed in the next version
* Include the new header file for the types needed:
- stream_traits.hpp
- file_base.hpp
* Use std::is_invocable instead of is_completion_handler
2019-02-05 14:16:30 -08:00
Vinnie Falco
49deee4a69
Add close_socket, beast_close_socket customization:
...
This algorithm allows a socket-like object to be closed in
a generic context. The customization point enables user-defined
types to define the close algorithm to use with `close_socket`.
2019-02-01 14:05:07 -08:00
Vinnie Falco
60c96104ec
lowest_layer is removed (API Change):
...
The nested function lowest_layer and nested type lowest_layer_type
are removed from all stream layers.
Actions Required:
* Remove lowest_layer and lowest_layer_type from user-defined streams.
* Use the get_lowest_layer free function and the lowest_layer_type trait
as needed.
2019-01-22 04:59:07 -08:00
Vinnie Falco
9e44ae7be5
Refactor async_op_base:
...
* Renamed to async_op_base (was operation_base)
* Executor1 is explicit
* Add stable_async_op_base refinement
2019-01-09 09:54:15 -08:00
Vinnie Falco
d8a23776d4
Tidy up experimental files
2018-12-12 19:32:22 -08:00
Vinnie Falco
f995fd41a3
net is a namespace alias for boost::asio:
...
The namespace alias beast::net replaces boost::asio in all code
and documentation.
2018-12-02 17:51:43 -08:00
Damian Jarek
650ddd07c1
Tidy up test::stream:
...
fix #1308 , close #1321
* test::stream will no longer include asio::tcp::ip transitively.
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2018-11-26 16:04:00 -08:00
Vinnie Falco
c18f3f0ef1
Rename to _experimental directory
2018-11-12 06:52:39 -08:00