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

    HTTP API 类,用于处理 HTTP 请求。

    HTTP API class for handling HTTP requests.

    Index

    Properties

    Properties

    fetch: (
        url: string,
        options?: GameHttpFetchRequestOptions,
    ) => Promise<GameHttpFetchResponse>

    Type declaration

    请求网络资源。

    Requests a network resource.

    请求地址。

    The request URL.

    请求配置。

    The request options.

    返回一个 Promise,其 resolve 的值为请求结果。

    Returns a Promise that resolves with the request result.