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
Hello, I am not sure if this is intentional due to the limitations of the underlying fetch api but there seems to be no way to
get a reqwest::Body in wasm from anything Streamable for example (dyn io::Read+Send impl or dyn AsyncRead+Send impl)
The only constructors I have found are for String/Vec u8/slice u8.
This kinda requires getting the entire stream of data into a single chunk of memory.
Given the current limitation of wasm's 32 bit address space this limits the maximum body size of a post to < 4GB. (realistically much less given that my rust wasm program itself probably also needs some space...)
Is this a browser limitation or Is this me not seeing something obvieus?
The text was updated successfully, but these errors were encountered:
Hello, I am not sure if this is intentional due to the limitations of the underlying fetch api but there seems to be no way to
get a reqwest::Body in wasm from anything Streamable for example (dyn io::Read+Send impl or dyn AsyncRead+Send impl)
The only constructors I have found are for String/Vec u8/slice u8.
This kinda requires getting the entire stream of data into a single chunk of memory.
Given the current limitation of wasm's 32 bit address space this limits the maximum body size of a post to < 4GB. (realistically much less given that my rust wasm program itself probably also needs some space...)
Is this a browser limitation or Is this me not seeing something obvieus?
The text was updated successfully, but these errors were encountered: