mirror of
https://github.com/boostorg/beast.git
synced 2025-07-29 20:37:31 +02:00
async_read_some documentation mentions how to identify message completion
Closes #2969
This commit is contained in:
committed by
Mohammad Nejati
parent
8c3d8a907d
commit
4e384f086b
@ -2281,6 +2281,8 @@ public:
|
|||||||
Received message data is appended to the buffer.
|
Received message data is appended to the buffer.
|
||||||
The functions @ref got_binary and @ref got_text may be used
|
The functions @ref got_binary and @ref got_text may be used
|
||||||
to query the stream and determine the type of the last received message.
|
to query the stream and determine the type of the last received message.
|
||||||
|
The function @ref is_message_done may be called to determine if the
|
||||||
|
message received by the last read operation is complete.
|
||||||
|
|
||||||
Until the operation completes, the implementation will read incoming
|
Until the operation completes, the implementation will read incoming
|
||||||
control frames and handle them automatically as follows:
|
control frames and handle them automatically as follows:
|
||||||
@ -2488,6 +2490,8 @@ public:
|
|||||||
Received message data is appended to the buffer.
|
Received message data is appended to the buffer.
|
||||||
The functions @ref got_binary and @ref got_text may be used
|
The functions @ref got_binary and @ref got_text may be used
|
||||||
to query the stream and determine the type of the last received message.
|
to query the stream and determine the type of the last received message.
|
||||||
|
The function @ref is_message_done may be called to determine if the
|
||||||
|
message received by the last read operation is complete.
|
||||||
|
|
||||||
Until the operation completes, the implementation will read incoming
|
Until the operation completes, the implementation will read incoming
|
||||||
control frames and handle them automatically as follows:
|
control frames and handle them automatically as follows:
|
||||||
|
Reference in New Issue
Block a user