@morojs/moro / raw
Function: raw()
raw(
options?):Middleware
Defined in: src/core/middleware/built-in/body-parsers/index.ts:59
Raw body-parser middleware (Express raw() idiom). MoroJS already keeps
binary bodies as Buffers, so this only converts a body that was decoded to
a string back to its exact bytes for the matching content types (default
application/octet-stream). req.rawBody is always available regardless.
Parameters
options?
limit?
string | number
type?
string | string[]