You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am reaching out to inquire about the functionality of sending FormData directly from a Deno Oak server to a client. I am using a base64 solution, but that is very inefficient. My primary concern revolves around the handling of large files. Currently, when dealing with substantial file sizes, the common method of converting files to Base64 before transmission often leads to issues or failures.
I understand that sending FormData is possible with Deno's standard library. However, I am particularly interested in knowing if there is a way to send FormData objects directly from an Oak server to a client without needing to resort to Base64 encoding or similar operations. The ability to do this would significantly streamline the process of handling large files and enhance the overall efficiency.
Could you please provide any insights, documentation, or examples on how to achieve this within the Oak framework? This feature, if available, would be immensely beneficial for applications that require the transfer of many large files, all at once.
This discussion was converted from issue #624 on February 04, 2024 08:54.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am reaching out to inquire about the functionality of sending FormData directly from a Deno Oak server to a client. I am using a base64 solution, but that is very inefficient. My primary concern revolves around the handling of large files. Currently, when dealing with substantial file sizes, the common method of converting files to Base64 before transmission often leads to issues or failures.
I understand that sending FormData is possible with Deno's standard library. However, I am particularly interested in knowing if there is a way to send FormData objects directly from an Oak server to a client without needing to resort to Base64 encoding or similar operations. The ability to do this would significantly streamline the process of handling large files and enhance the overall efficiency.
Could you please provide any insights, documentation, or examples on how to achieve this within the Oak framework? This feature, if available, would be immensely beneficial for applications that require the transfer of many large files, all at once.
Thank you for your time and assistance.
Beta Was this translation helpful? Give feedback.
All reactions