Update documentation for websocket::stream::async_write_some

Closes #2755
This commit is contained in:
Mohammad
2023-10-25 09:26:42 +00:00
committed by Mohammad Nejati
parent 19976ff016
commit a7927988ea

View File

@ -2683,6 +2683,10 @@ public:
the @ref binary (or @ref text) option. The actual payload sent
may be transformed as per the WebSocket protocol settings.
This function always writes a complete WebSocket frame (not WebSocket
message) upon successful completion, so it is well defined to perform
ping, pong, and close operations after this operation completes.
@param fin `true` if this is the last part of the message.
@param buffers The buffers containing the message part to send.
@ -2720,6 +2724,10 @@ public:
the @ref binary (or @ref text) option. The actual payload sent
may be transformed as per the WebSocket protocol settings.
This function always writes a complete WebSocket frame (not WebSocket
message) upon successful completion, so it is well defined to perform
ping, pong, and close operations in parallel to this operation.
@param fin `true` if this is the last part of the message.
@param buffers The buffers containing the message part to send.