File - Represents a file retrieved from Onspring.

Constructors

  • Parameters

    • stream: Readable

      The stream of the file.

    • fileName: string

      The name of the file.

    • contentType: string

      The content type of the file.

    • contentLength: number

      The content length of the file.

    Returns File

    • A new instance of File.

Properties

contentLength: number
contentType: string
fileName: string
stream: Readable