t
tRPC
t
tRPC
File Upload for large Files?
Original message was deleted
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,111
Members
View on Discord
N
Nick
•
1/19/23, 7:03 PM
tRPC can
't handle Binary right now at all
, but even on a REST API where you can stream files
/binary around it
's not advisable to send 500mb through your API
N
Nick
•
1/19/23, 7:03 PM
Best bet really is S3 and presigned URLs
, or some equivalent like Azure Storage with SaS URLs
N
Nick
•
1/19/23, 7:05 PM
If you really want to do it
, you can host tRPC inside Express
/Fastify
/
(etc
) and handle the file uploads in the web servers