Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ApplicationConfig

Hierarchy

  • ApplicationConfig

Index

Constructors

constructor

  • Parameters

    • Default value ioAdapter: any = null

    Returns ApplicationConfig

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: any): void
  • Parameters

    • filter: any

    Returns void

addGlobalGuard

  • addGlobalGuard(guard: any): void
  • Parameters

    • guard: any

    Returns void

addGlobalInterceptor

  • addGlobalInterceptor(interceptor: any): void
  • Parameters

    • interceptor: any

    Returns void

addGlobalPipe

  • addGlobalPipe(pipe: any): void
  • Parameters

    • pipe: any

    Returns void

addGlobalRequestFilter

  • addGlobalRequestFilter(wrapper: any): void
  • Parameters

    • wrapper: any

    Returns void

addGlobalRequestGuard

  • addGlobalRequestGuard(wrapper: any): void
  • Parameters

    • wrapper: any

    Returns void

addGlobalRequestInterceptor

  • addGlobalRequestInterceptor(wrapper: any): void
  • Parameters

    • wrapper: any

    Returns void

addGlobalRequestPipe

  • addGlobalRequestPipe(wrapper: any): void
  • Parameters

    • wrapper: any

    Returns void

getGlobalFilters

  • getGlobalFilters(): any[]
  • Returns any[]

getGlobalGuards

  • getGlobalGuards(): any[]
  • Returns any[]

getGlobalInterceptors

  • getGlobalInterceptors(): any[]
  • Returns any[]

getGlobalPipes

  • getGlobalPipes(): any[]
  • Returns any[]

getGlobalPrefix

  • getGlobalPrefix(): string
  • Returns string

getGlobalRequestFilters

  • getGlobalRequestFilters(): any[]
  • Returns any[]

getGlobalRequestGuards

  • getGlobalRequestGuards(): any[]
  • Returns any[]

getGlobalRequestInterceptors

  • getGlobalRequestInterceptors(): any[]
  • Returns any[]

getGlobalRequestPipes

  • getGlobalRequestPipes(): any[]
  • Returns any[]

getIoAdapter

  • getIoAdapter(): any
  • Returns any

setGlobalPrefix

  • setGlobalPrefix(prefix: any): void
  • Parameters

    • prefix: any

    Returns void

setIoAdapter

  • setIoAdapter(ioAdapter: any): void
  • Parameters

    • ioAdapter: any

    Returns void

useGlobalFilters

  • useGlobalFilters(...filters: any[]): void
  • Parameters

    • Rest ...filters: any[]

    Returns void

useGlobalGuards

  • useGlobalGuards(...guards: any[]): void
  • Parameters

    • Rest ...guards: any[]

    Returns void

useGlobalInterceptors

  • useGlobalInterceptors(...interceptors: any[]): void
  • Parameters

    • Rest ...interceptors: any[]

    Returns void

useGlobalPipes

  • useGlobalPipes(...pipes: any[]): void
  • Parameters

    • Rest ...pipes: any[]

    Returns void

Generated using TypeDoc