Page Contents

Home > @loopback/rest > RestComponent

RestComponent class

Signature:

export declare class RestComponent implements Component 

Constructors

Constructor Modifiers Description
(constructor)(app, config)   Constructs a new instance of the RestComponent class

Properties

Property Modifiers Type Description
bindings   (Binding<import("./body-parsers").BodyParser> | Binding<RequestBodyParser>)[] Add built-in body parsers
providers   ProviderMap  
servers   {
[name: string]: Constructor<Server>;
}