t
tRPC
Limit payload size on specific routes? - tRPC
S
tRPC
•
10mo ago
•
1 reply
squishycantaloupe
Limit payload size on specific routes?
When using TRPC
, is there a way to limit payload size on specific routes
? E
.g
, for a route that accepts base64 encoded images
, I would like to limit the maximum body size to 10mb
.
For all other routes
, I
'd like to limit the maximum body size to 1mb
.
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
4,951
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How to limit payload size?
A
aryzing / ❓-help
3y ago
Inference on routes & procedures
E
epicmau5time / ❓-help
4y ago
Modify the payload before mutating
R
Ryan / ❓-help
3y ago
Create user on the function mutate, with TRPC and Payload
J
jasonnpw / ❓-help
3y ago