Skip to main content

Reference / Modules / client-expo / ExpoFileUploader

Class: ExpoFileUploader

client-expo.ExpoFileUploader

Hierarchy

  • AxiosFileUploader

    ExpoFileUploader

Table of contents

Constructors

Methods

Constructors

constructor

new ExpoFileUploader(): ExpoFileUploader

Returns

ExpoFileUploader

Inherited from

AxiosFileUploader.constructor

Methods

buildFormData

buildFormData(): FormDataLike

Returns

FormDataLike

Overrides

AxiosFileUploader.buildFormData

Defined in

client-expo/src/index.ts:51


ensureExpo

ensureExpo(file): ExpoFile

Parameters

NameType
fileFile

Returns

ExpoFile

Defined in

client-expo/src/index.ts:64


toFormDataValue

toFormDataValue(file): Promise<{ name: string ; type: string ; uri: string }>

Parameters

NameType
fileFile

Returns

Promise<{ name: string ; type: string ; uri: string }>

Overrides

AxiosFileUploader.toFormDataValue

Defined in

client-expo/src/index.ts:55


upload

upload(parameters): Promise<void>

Parameters

NameType
parametersFileUploadParameters

Returns

Promise<void>

Inherited from

AxiosFileUploader.upload

Defined in

client/dist/ComponentFactory.d.ts:40