JavaScript video editor, encoder, switcher - version 5.1.1

FileServerClass

args

constructCallback

constructor

extensionLoadType

  • extensionLoadType(extension: string): undefined | LoadType
  • Parameter

    extension: string

    Returns undefined | LoadType

extensions

  • get extensions(): string[]
  • Returns string[]

id

id: string

init

property

property: string

startServer

  • startServer(app: Application, activeServers: HostServers): void
  • Parameters

    Returns void

stopServer

  • stopServer(): void
  • Returns void

store

userFromRequest

  • userFromRequest(req: unknown): string
  • Parameter

    req: unknown

    Returns string

userUploadPrefix

  • userUploadPrefix(id: string, user?: string): string
  • Parameters

    • id: string
    • Optional user: string

    Returns string

withinLimits

  • withinLimits(size: number, type: string): boolean
  • Parameters

    • size: number
    • type: string

    Returns boolean