interface UploadCustomRequestOptions {
    action: string;
    data: object;
    file: RcFile;
    filename: string;
    headers: object;
    onError: ((error: Error, response?: any, file?: RcFile) => void);
    onProgress: ((event: {
        percent: number;
    }, file: RcFile) => void);
    onSuccess: ((response: object, file: RcFile) => void);
    withCredentials: boolean;
}

Properties

action: string
data: object
file: RcFile
filename: string
headers: object
onError: ((error: Error, response?: any, file?: RcFile) => void)
onProgress: ((event: {
    percent: number;
}, file: RcFile) => void)
onSuccess: ((response: object, file: RcFile) => void)
withCredentials: boolean