Page Contents
Home > @loopback/rest > MiddlewareSequence
MiddlewareSequence class
A sequence implementation using middleware chains
Signature:
export declare class MiddlewareSequence implements SequenceHandler
Implements: SequenceHandler
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
|
Constructor: Injects |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
|
|
InvokeMiddlewareOptions | ||
|
|
InvokeMiddleware | ||
|
|
InvokeMiddlewareOptions |
Methods
| Method | Modifiers | Description |
|---|---|---|
|
Runs the default sequence. Given a handler context (request and response), running the sequence will produce a response or an error. Default sequence executes these groups of middleware:
In front of the groups above, we have a special middleware called
|