Skip to main content

Reference / Modules / client-react-native-fs / ReactNativeFileUploader

Class: ReactNativeFileUploader

client-react-native-fs.ReactNativeFileUploader

Hierarchy

  • AxiosFileUploader

    ReactNativeFileUploader

Table of contents

Constructors

Methods

Constructors

constructor

new ReactNativeFileUploader(): ReactNativeFileUploader

Returns

ReactNativeFileUploader

Inherited from

AxiosFileUploader.constructor

Methods

buildFormData

buildFormData(): FormDataLike

Returns

FormDataLike

Overrides

AxiosFileUploader.buildFormData

Defined in

client-react-native-fs/src/index.ts:44


ensureReactNativeFile

ensureReactNativeFile(file): ReactNativeFsFile

Parameters

NameType
fileFile

Returns

ReactNativeFsFile

Defined in

client-react-native-fs/src/index.ts:57


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-react-native-fs/src/index.ts:48


upload

upload(parameters): Promise<void>

Parameters

NameType
parametersFileUploadParameters

Returns

Promise<void>

Inherited from

AxiosFileUploader.upload

Defined in

client/dist/ComponentFactory.d.ts:40