t
tRPC
t
tRPC
Sending Excel<Buffer> over trpc
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
•
2/12/23, 3:41 PM
You
'll need a file host
(for instance S3 or Azure Storage
) which you generate a secure URL to and pass the URL back to the client
N
Nick
•
2/12/23, 3:41 PM
tRPC doesn
't handle binary right now
, and streaming files through an API is often bad practice anyway
N
Nick
•
2/12/23, 3:49 PM
If you
're hosting in a web server like express you could always use that for binary transfers
, but that
's got its own issues of course
N
Nick
•
2/12/23, 4:03 PM
I see you
've discovered the issues