Class FileProvider

Represents a file provider for serving files.

Hierarchy

Constructors

Properties

authenticator: WebsocketAuthenticator = null
decoratorConfigReference: ContentProviderDecoratorConfig
isOutbound: boolean = false
label: string

The label of the file provider.

objConfig: {
    propertyKey: string;
    target: any;
}

The configuration object for the object method.

Type declaration

  • propertyKey: string
  • target: any

Accessors

  • get Func(): ((...data) => any)
  • Returns the decorated function with added authentication checks.

    Returns ((...data) => any)

    • The decorated function.
      • (...data): any
      • Returns the decorated function with added authentication checks.

        Parameters

        • Rest ...data: any[]

        Returns any

        • The decorated function.
  • get hasAuthenticator(): boolean
  • Checks if the decorated function has an authenticator.

    Returns boolean

    • Indicates whether the decorated function has an authenticator.

Methods

Generated using TypeDoc