Search

    Операция для загрузки файла с бэкенда.

    Наследует BaseHttpOp и устанавливает тип ответа в Blob. Выполняет GET-запрос и обрабатывает заголовок Content-Disposition для извлечения имени файла из ответа.

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    • Parameters

      • Optionalconfig: IOpConfig<never, any>
      • OptionalbaseUrl: string
      • OptionalapiVersion: string

      Returns FileHttpOp

    Properties

    apiVersion: string
    axiosPromise: null | AxiosPromise<any>
    baseURL: string
    config: IOpConfig
    urlContext?: UrlContextType
    operationId: number

    Methods

    • Redefined function query url Builder

      Returns string

    • Выполняет HTTP-запрос и возвращает результат операции.

      Returns Promise<any>

    • return raw data from responce

      Parameters

      • value: Record<string, any>

      Returns undefined | Blob

    • Returns the name of the property where the expected data is stored

      Returns string | string[]

    • Returns the name of the property that contains the request success flag

      Returns string

    • Returns the response code that is considered successful

      Returns number

    • Returns true if the data has a success flag

      Parameters

      • data: Record<string, any>

      Returns boolean

    • Processing data received in the operation

      Parameters

      • data: Blob

      Returns any

    • Returns true if the data is valid and applicable to the successful result of the operation

      Parameters

      Returns boolean | Error

    • Handler the successful completion of the request

      Parameters

      Returns Promise<any>

    MMNEPVFCICPMFPCPTTAAATR