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
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
Name | Type |
---|---|
file | File |
Returns
Defined in
client-react-native-fs/src/index.ts:57
toFormDataValue
▸ toFormDataValue(file
): Promise
<{ name
: string
; type
: string
; uri
: string
}>
Parameters
Name | Type |
---|---|
file | File |
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
Name | Type |
---|---|
parameters | FileUploadParameters |
Returns
Promise
<void
>
Inherited from
AxiosFileUploader.upload
Defined in
client/dist/ComponentFactory.d.ts:40