Skip to content

how to send binary content #3178

Jun 19, 2025 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Please see our documentation, and follow the guidelines in our tutorials.

You have lots of examples on how to send files. There's no need to manually send an image, unless you're manually building it in memory.

https://mongoose.ws/documentation/#http
https://mongoose.ws/documentation/#best-practices

Next time, instead of remaining confused, sniff your network and see what is the difference in the traffic between your different scenarios.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@catfromplan9
Comment options

@scaprile
Comment options

Answer selected by scaprile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3175 on June 19, 2025 12:14.