2 Jul
2017
2 Jul
'17
4:49 p.m.
On 07/02/2017 06:19 PM, Vinnie Falco via Boost wrote:
Actually Beast treats them very similarly. Its not generally possible
But their APIs are quite different.
in Beast to see the WebSocket frame boundaries either (especially if you have compression on). It might look like you can see frame boundaries because of the function `websocket::stream::read_frame` but that function can cross boundaries or return less than a full frame.
As per rfc6455 (WebSocket) interfaces presented to the application (`beast::websocket::stream` in this case) are free to reframe messages.
Does Beast re-packet WebSocket frames or HTTP chunks?