Page Contents

Home > @loopback/rest > RequestContext

RequestContext class

A per-request Context combining an IoC container with handler context (request, response, etc.).

Signature:

export declare class RequestContext extends Context implements HandlerContext 

Constructors

Constructor Modifiers Description
(constructor)(request, response, parent, serverConfig, name)   Constructs a new instance of the RequestContext class

Properties

Property Modifiers Type Description
request   Request  
response   Response  
serverConfig   RestServerResolvedConfig