drogonframework / drogonframework/drogon

Question about WebSocketConnectionPtr::send

Open
#1,285 11 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.