oRPC Extend Body Parser
Installation
SKILL.md
Extend Body Parser
In some cases, you may need to extend the body parser to handle larger payloads or additional data types.
import { RPCHandler } from '@orpc/server/fetch'
import { getFilenameFromContentDisposition } from '@orpc/standard-server'
const OVERRIDE_BODY_CONTEXT = Symbol('OVERRIDE_BODY_CONTEXT')
interface OverrideBodyContext {
fetchRequest: Request
}