Page Contents

Home > @loopback/express > MiddlewareContext

MiddlewareContext class

A per-request Context for middleware to combine an IoC container with handler context (request, response, etc.).

Signature:

export declare class MiddlewareContext extends Context implements HandlerContext 

Constructors

Constructor Modifiers Description
(constructor)(request, response, parent, name)   Constructor for MiddlewareContext

Properties

Property Modifiers Type Description
request   Request  
response   Response  

Methods

Method Modifiers Description
setupBindings()