Function
Body
(
property?: string | (Type<PipeTransform> | PipeTransform),
...pipes: (Type<PipeTransform> | PipeTransform)[]
)
Source from the content-addressed store, hash-verified
| 500 | * @publicApi |
| 501 | */ |
| 502 | export function Body( |
| 503 | property?: string | (Type<PipeTransform> | PipeTransform), |
| 504 | ...pipes: (Type<PipeTransform> | PipeTransform)[] |
| 505 | ): ParameterDecorator { |
| 506 | return createPipesRouteParamDecorator(RouteParamtypes.BODY)( |
| 507 | property, |
| 508 | ...pipes, |
| 509 | ); |
| 510 | } |
| 511 | |
| 512 | /** |
| 513 | * Route handler parameter decorator. Extracts the `rawBody` Buffer |