Vinnie Falco
9f2b0ce1db
Rename to buffer_bytes
2019-03-05 11:09:53 -08:00
Vinnie Falco
6ccdcdf51d
buffer_size is in buffer_traits.hpp
2019-03-05 11:09:50 -08:00
Vinnie Falco
8e2620e2b1
Doc tidy
2019-03-05 08:00:14 -08:00
Vinnie Falco
fca4b3ae10
make_strand is in net::
2019-03-02 07:33:57 -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
81f33a0f89
Rename to async_base, stable_async_base
2019-02-26 07:20:08 -08:00
Vinnie Falco
955354b9dd
Enable split Beast compilation for tests
2019-02-22 17:27:27 -08:00
Vinnie Falco
c5af2e7fcc
Fixes to some CI targets
2019-02-22 15:39:34 -08:00
Vinnie Falco
90b783cb62
detect_ssl, async_detect_ssl are public interfaces
2019-02-22 15:39:34 -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
eea3929b26
Concept check tidying
2019-02-20 19:19:59 -08:00
Vinnie Falco
fd4b080a4a
RatePolicy documentation
2019-02-20 15:30:03 -08:00
Vinnie Falco
eaa3d5f975
Tidy up some warnings
2019-02-20 15:30:03 -08:00
Vinnie Falco
093f966f69
Disable bind_continuation
2019-02-20 15:30:02 -08:00
Vinnie Falco
c5b655c954
basic_stream connects are members
2019-02-19 16:27:27 -08:00
Vinnie Falco
0ad7390e94
Use async_initiate in basic_stream
2019-02-19 16:27:26 -08:00
Vinnie Falco
23a7bcc67e
Add RatePolicy to basic_stream
2019-02-19 16:23:30 -08:00
Vinnie Falco
6baa607295
Fixes to support Asio changes (API Change):
...
This adjusts Beast's interfaces and implementation to match
the changes in Boost.Asio.
2019-02-19 16:23:30 -08:00
Vinnie Falco
ac24e58fb3
Add make_strand
2019-02-19 16:23:30 -08:00
Vinnie Falco
dfd08bf6ae
Refactor websocket::stream operations
2019-02-18 12:18:27 -08:00
Vinnie Falco
2e62f25701
Use async_op_base::invoke
2019-02-16 15:09:34 -08:00
Vinnie Falco
f41363c60c
Add async_op_base::invoke
2019-02-16 15:09:33 -08:00
Vinnie Falco
fdaf2ea7e1
Rename to async_op_base::invoke_now
2019-02-16 13:36:01 -08:00
Vinnie Falco
18447553ca
Examples use bind_front_handler
2019-02-14 17:28:54 -08:00
Vinnie Falco
d410b429c0
Remove bind_back_handler
2019-02-14 16:11:14 -08:00
Vinnie Falco
96b2944f70
Add detail::bind_continuation
2019-02-13 12:59:24 -08:00
Vinnie Falco
9b14774ada
basic_stream subsumes stranded_stream:
...
* All functionality of stranded_stream is folded into basic_stream
* tcp_stream is an alias for basic_stream with tcp
* The tests are expanded to produce full coverage
* Timeout implementation is simplified
2019-02-10 11:42:01 -08:00
Vinnie Falco
44ed20aa2c
buffers_front tests
2019-02-09 06:58:59 -08:00
Vinnie Falco
b8aa6be7fd
stranded_socket tests and tidy
2019-02-08 10:58:23 -08:00
Vinnie Falco
f15bbf10b4
flat_stream tests and tidy
2019-02-08 10:57:58 -08:00
Vinnie Falco
98834967c3
dynamic_buffer_ref tests and tidy
2019-02-08 10:57:41 -08:00
Vinnie Falco
55d319a9d9
multi_buffer::clear preserves capacity
2019-02-07 17:37:18 -08:00
Vinnie Falco
c3125e8358
flat_buffer::clear preserves capacity
2019-02-07 17:37:18 -08:00
Vinnie Falco
27a6f57200
Add flat_stream:
...
flat_stream, previously in _experimental, is now a public API.
2019-02-07 17:37:18 -08:00
Vinnie Falco
3896f9aa9c
Add stranded_stream
2019-02-07 17:37:18 -08:00
Vinnie Falco
a142082cf2
Workaround for vs2015
2019-02-06 21:20:02 -08:00
Vinnie Falco
dc02f63050
close_socket is in stream_traits.hpp
2019-02-05 21:03:20 -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
d2669d2a78
is_invocable is in its own header file
2019-02-05 10:11:02 -08:00
Vinnie Falco
8ea8f41bba
is_file is in file_base.hpp (API Change):
...
* The metafunction `is_file` is part of file_base.hpp
Actions Required
* Include file_base.hpp as needed
2019-02-05 09:56:49 -08:00
Vinnie Falco
44d9eaba4d
Tidying
2019-02-05 09:56:48 -08:00
Vinnie Falco
477cd75153
Stream traits are in stream_traits.hpp (API Change):
...
These metafunctions are moved from type_traits.hpp
to stream_traits.hpp:
- has_get_executor
- is_sync_stream
- is_sync_read_stream
- is_sync_write_stream
- is_async_stream
- is_async_read_stream
- is_async_write_stream
Actions Required:
* Include the file stream_traits.hpp as needed
2019-02-05 09:56:34 -08:00
Vinnie Falco
42d83b221a
Add stream_traits.hpp:
...
get_lowest_layer, lowest_layer_type are located here now.
2019-02-05 07:45:36 -08:00
Vinnie Falco
28858c60fd
Better handling of stream timeouts
2019-02-04 07:26:02 -08:00
Vinnie Falco
35dbd140d4
Add buffer_size
2019-02-03 12:59:11 -08:00
Vinnie Falco
17ada67f0d
Add dynamic_buffer_ref
2019-02-02 16:14:10 -08:00
Vinnie Falco
a142969c5d
Qualify buffer_copy, don't qualify buffer_size:
...
fix #1416
* Calls to buffer_copy are qualified as net::buffer_copy
* Calls to buffer_size are made unqualified, permitting
argument dependent lookup to take effect.
2019-02-02 13:01:27 -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