View as Markdown

API reference: @salmonui/inputs/file-upload/xhr

XhrUploadResultinterface

import type { XhrUploadResult } from '@salmonui/inputs/file-upload/xhr';
interface XhrUploadResult {
    readonly status: number;
    readonly body: string;
}

What the transport resolves with: the response status and body text.

XhrUploadResult members (2)
NameSignatureDescription
statusreadonly status: number;
bodyreadonly body: string;