Page Contents
Home > @loopback/rest > RequestBodyParser > (constructor)
RequestBodyParser.(constructor)
Constructs a new instance of the RequestBodyParser class
Signature:
constructor(parsers?: BodyParser[], ctx?: Context | undefined);
Parameters
| Parameter | Type | Description |
|---|---|---|
|
parsers |
(Optional) | |
|
ctx |
Context | undefined |
(Optional) |