Optional
body?: null | TOptional
cookies?: string[]Optional
headers?: HttpHeadersOptional
profile?: RequestProfileOptional
status?: numberOptional
statusOptional
url?: stringReadonly
bodyThe response body, or null
if one was not returned.
Readonly
cookies开发者服务器返回的 cookies,格式为字符串数组
Readonly
headersAll response headers.
Readonly
okWhether the status code falls in the 2xx range.
Readonly
profile网络请求过程中一些调试信息,查看详细说明
Readonly
statusResponse status code.
Readonly
statusTextual description of response status code, defaults to OK.
Do not depend on this.
Readonly
typeReadonly
urlURL of the resource retrieved, or null if not available.
Optional
cookies?: string[]Optional
headers?: HttpHeadersOptional
profile?: RequestProfileOptional
status?: numberOptional
statusOptional
url?: stringOptional
body?: null | VOptional
cookies?: string[]Optional
headers?: HttpHeadersOptional
profile?: RequestProfileOptional
status?: numberOptional
statusOptional
url?: stringGenerated using TypeDoc
Construct a new
WxHttpResponse
.