[**@xopcai/extension-ui-sdk**](../README.md)

***

[@xopcai/extension-ui-sdk](../README.md) / HostResponse

# Interface: HostResponse

Defined in: [types.ts:44](https://github.com/xopcai/xopc/blob/bf6c4f6be661a835975caa62a635aff95b7a0d32/packages/extension-ui-sdk/src/types.ts#L44)

## Properties

### error?

> `optional` **error?**: `object`

Defined in: [types.ts:49](https://github.com/xopcai/xopc/blob/bf6c4f6be661a835975caa62a635aff95b7a0d32/packages/extension-ui-sdk/src/types.ts#L49)

#### code

> **code**: `number`

#### message

> **message**: `string`

***

### requestId

> **requestId**: `string`

Defined in: [types.ts:47](https://github.com/xopcai/xopc/blob/bf6c4f6be661a835975caa62a635aff95b7a0d32/packages/extension-ui-sdk/src/types.ts#L47)

***

### result?

> `optional` **result?**: `unknown`

Defined in: [types.ts:48](https://github.com/xopcai/xopc/blob/bf6c4f6be661a835975caa62a635aff95b7a0d32/packages/extension-ui-sdk/src/types.ts#L48)

***

### source

> **source**: `"xopc-host"`

Defined in: [types.ts:45](https://github.com/xopcai/xopc/blob/bf6c4f6be661a835975caa62a635aff95b7a0d32/packages/extension-ui-sdk/src/types.ts#L45)

***

### type

> **type**: `"response"`

Defined in: [types.ts:46](https://github.com/xopcai/xopc/blob/bf6c4f6be661a835975caa62a635aff95b7a0d32/packages/extension-ui-sdk/src/types.ts#L46)
