Class ProvidedFile

Represents a provided file. Data of this type is returned by FileProviders. The contained data is then sent as a response to the HTTP request.

Hierarchy

Constructors

Properties

Constructors

  • Creates a new instance of the ProvidedFile class.

    Parameters

    • id: number

      The ID of the file.

    • label: string

      The label of the file.

    • data: string

      The file data.

    • contentType: string

      The content type of the file.

    Returns ProvidedFile

Properties

contentType: string

The content type of the file.

data: string

The file data.

id: number

The ID of the file.

label: string

The label of the file.

Generated using TypeDoc