drogonframework / drogonframework/drogon
Question about WebSocketConnectionPtr::send
Open
- Dominant language
- C++
- Stars
- 14.3k
- Forks
- 1.4k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 14
Description
Hi,
I'm wondering if `WebSocketConnectionPtr::send` is a blocking method?
This is of an interest since I'm interested in understanding how would a websocket server implemented with Drogon cope with sending large amount of data to multiple connections, some are slow and some are fast?
If the `send` method does not block and can be queued on any i/o thread in the event loop, is there a way to tell when it completed?
Thank you in advance.
Contributor guide
Assessment
This issue has not been assessed yet.