Fork me on GitHub
#yada
<
2018-01-17
>
romain00:01:57

Anybody has a sample project with yada + file upload ?

akiroz00:01:15

@romain I recently implemented file upload with yada but unfortunately it's a close-source project. AFAIK this feature is alpha quality and I had to dig through yada's source code to get mine working, there are quite a few rough edges.

akiroz00:01:50

I'll see if I can extract a minimal working example later today....

akiroz00:01:55

I'm also not sure if it's possible to handle file uploads without loading the whole file into memory in yada's current state as my code receives the file as a byte array from yada.

romain00:01:45

Thanks, so there is no "easy" solution...

dominicm07:01:26

I think there's an example in the yada repo

dominicm07:01:26

I think there's an example in the yada repo

borkdude20:01:07

Is there also an example of chunked responses in yada? I haven’t looked into it, but I might need it later this week

dominicm21:01:59

I think returning a manifold thing creates a chunked response

dominicm21:01:24

I think an output stream or something