Preparing search index...
The search index is not available
@uploadcare/upload-client
@uploadcare/upload-client
uploadFile
Function uploadFile
upload
File
(
data
,
__namedParameters
)
:
Promise
<
UploadcareFile
>
Uploads file from provided data.
Parameters
data
:
string
|
SupportedFileInput
__namedParameters
:
FileFromOptions
Returns
Promise
<
UploadcareFile
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@uploadcare/upload-
client
Status
Type
Enum
Cancel
Error
Network
Error
Queue
Upload
Client
Upload
Error
Uploadcare
Error
Uploadcare
File
Uploadcare
Group
Settings
Audio
Info
Base
Options
Base
Response
Browser
File
Computable
Progress
Info
Content
Info
Custom
User
Agent
Custom
User
Agent
Fn
Custom
User
Agent
Options
Direct
Options
Error
Request
Info
Error
Response
Info
File
From
Options
File
Info
File
Info
Response
From
Uploaded
Options
From
Url
Options
From
Url
Response
From
Url
Status
Options
From
Url
Status
Response
From
Url
Success
Response
Geo
Location
Get
User
Agent
Options
Group
File
Info
Group
From
Options
Group
Id
Group
Info
Group
Info
Options
Group
Options
Headers
Image
Info
Info
Options
Metadata
Mime
Info
Multipart
Complete
Options
Multipart
Options
Multipart
Part
Multipart
Start
Options
Multipart
Start
Response
Multipart
Upload
Options
Multipart
Upload
Response
Node
File
Progress
Callback
React
Native
Asset
Sliceable
Status
Error
Response
Status
Progress
Response
Status
Success
Response
Status
Unknown
Response
Status
Waiting
Response
Supported
File
Input
Token
Token
Response
Unknown
Progress
Info
Upload
From
Url
Options
Url
Uuid
Video
Info
Upload
Client
Error
Uploadcare
Network
Error
base
from
Url
from
Url
Status
get
User
Agent
group
group
Info
info
is
Ready
Poll
multipart
Complete
multipart
Start
multipart
Upload
upload
Direct
upload
File
upload
File
Group
upload
From
Uploaded
upload
From
Url
upload
Multipart
Generated using
TypeDoc
Uploads file from provided data.