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 BodyParser[] (Optional)
ctx Context | undefined (Optional)