Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(DataConnection): handle close messages and flush option
This commit enhances the DataConnection class to manage PeerJS specific `close` messages. It closes the connection when the message type is "close" and sends a close message if `options?.flush` is set, ensuring the buffer is flushed before closing. Closes #982
- Loading branch information