# XhrUploadResult (@salmonui/inputs/file-upload/xhr)

> The XhrUploadResult interface of @salmonui/inputs/file-upload/xhr: What the transport resolves with: the response status and body text.

Canonical: https://salmonui.dev/docs/reference/inputs/file-upload-xhr/XhrUploadResult

```ts
import type { XhrUploadResult } from '@salmonui/inputs/file-upload/xhr';
```

Entry index: https://salmonui.dev/docs/reference/inputs/file-upload-xhr (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/inputs/file-upload-xhr.md).

## Reference

Kind: interface

```ts
interface XhrUploadResult {
    readonly status: number;
    readonly body: string;
}
```

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

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `status` | `readonly status: number;` |  |  |
| `body` | `readonly body: string;` |  |  |
