神岛 API 文档 - ArenaPro版
    Preparing search index...

    HTTP 请求响应

    HTTP request response

    Index

    Properties

    arrayBuffer: () => Promise<ArrayBuffer>

    返回一个Promise,Promise resolve的值为二进制格式的数据

    Returns a Promise that resolves to binary formatted data

    close: () => Promise<void>

    关闭连接

    Close the connection

    headers: GameHttpFetchHeaders

    所有响应头

    All response headers

    json: () => Promise<any>

    返回一个Promise,Promise resolve的值为JSON格式的数据

    Returns a Promise that resolves to JSON formatted data

    status: number

    状态码

    Status code

    statusText: string

    状态码描述

    Status text description

    text: () => Promise<string>

    返回一个Promise,Promise resolve的值为文本格式的数据

    Returns a Promise that resolves to text formatted data

    Accessors