Skip to content

isMiddlewareRouteExcluded

reference
1 min readUpdated

Kind: Function

Source: packages/core/middleware/utils.ts

Part of: Core

Signature

ts
function isMiddlewareRouteExcluded(req: Record<string, any>, excludedRoutes: ExcludeRouteMetadata[], httpAdapter: HttpServer): boolean

Parameters

NameType
reqRecord<string, any>
excludedRoutesExcludeRouteMetadata[]
httpAdapterHttpServer

Returns: boolean

Was this page helpful?

Download as PDF
isMiddlewareRouteExcluded — NestJS head-to-head