send
send copied to clipboard
Refactor `SendStream` to an ES6 class
This PR refactors SendStream to an ES6 class, improving code organization, readability, and alignment with modern JavaScript practices. The functionality remains unchanged.