tRPCttRPC
Powered by
MugetsuM
tRPC•5mo ago•
3 replies
Mugetsu

How to compress procedure response

I have one trpc procedure which has 40 mb response. I would like to compress this. How can I compress one procedure call in trpc. Or even better have compression for all trpc procedures above some threshold. Is it possible or I have to create separate api endpoint out of trpc context.
I’m using nextjs with custom express server.
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

[v11] Change responseMeta in procedure
SongkeysSSongkeys / ❓-help
2y ago
How to set up custom response headers at procedure level
NivoaNNivoa / ❓-help
2y ago
awaiting for procedure & logging the response.
isitayushIisitayush / ❓-help
3y ago