Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ApplicationConfig

Hierarchy

  • ApplicationConfig

Index

Constructors

constructor

Properties

Private globalFilters

globalFilters: ExceptionFilter[] = []

Private globalGuards

globalGuards: CanActivate[] = []

Private globalInterceptors

globalInterceptors: NestInterceptor[] = []

Private globalPipes

globalPipes: PipeTransform[] = []

Private globalPrefix

globalPrefix: string = ""

Private Readonly globalRequestFilters

globalRequestFilters: InstanceWrapper<ExceptionFilter>[] = []

Private Readonly globalRequestGuards

globalRequestGuards: InstanceWrapper<CanActivate>[] = []

Private Readonly globalRequestInterceptors

globalRequestInterceptors: InstanceWrapper<NestInterceptor>[] = []

Private Readonly globalRequestPipes

globalRequestPipes: InstanceWrapper<PipeTransform>[] = []

Private ioAdapter

ioAdapter: WebSocketAdapter | null

Methods

addGlobalFilter

  • addGlobalFilter(filter: ExceptionFilter): void

addGlobalGuard

  • addGlobalGuard(guard: CanActivate): void

addGlobalInterceptor

  • addGlobalInterceptor(interceptor: NestInterceptor): void

addGlobalPipe

  • addGlobalPipe(pipe: PipeTransform<any>): void

addGlobalRequestFilter

addGlobalRequestGuard

addGlobalRequestInterceptor

  • addGlobalRequestInterceptor(wrapper: InstanceWrapper<NestInterceptor>): void

addGlobalRequestPipe

getGlobalFilters

  • getGlobalFilters(): ExceptionFilter[]

getGlobalGuards

  • getGlobalGuards(): CanActivate[]

getGlobalInterceptors

  • getGlobalInterceptors(): NestInterceptor[]

getGlobalPipes

  • getGlobalPipes(): PipeTransform<any>[]

getGlobalPrefix

  • getGlobalPrefix(): string

getGlobalRequestFilters

getGlobalRequestGuards

getGlobalRequestInterceptors

getGlobalRequestPipes

getIoAdapter

  • getIoAdapter(): WebSocketAdapter

setGlobalPrefix

  • setGlobalPrefix(prefix: string): void

setIoAdapter

  • setIoAdapter(ioAdapter: WebSocketAdapter): void

useGlobalFilters

  • useGlobalFilters(...filters: ExceptionFilter[]): void

useGlobalGuards

  • useGlobalGuards(...guards: CanActivate[]): void

useGlobalInterceptors

  • useGlobalInterceptors(...interceptors: NestInterceptor[]): void

useGlobalPipes

  • useGlobalPipes(...pipes: PipeTransform<any>[]): void

Generated using TypeDoc