Skip to main content
Version: 22.9.0

ResponseForRequest 接口

¥ResponseForRequest interface

满足请求所需的响应数据。

¥Required response data to fulfill a request with.

签名:

¥Signature:

export interface ResponseForRequest

属性

¥Properties

属性

修饰符

类型

描述

默认

body

字符串| 缓冲

contentType

string

headers

记录<字符串,未知>

可选的响应标头。所有值都转换为字符串。

status

数字