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

    Type Alias GameHttpFetchRequestOptions

    HTTP 请求选项

    HTTP request options

    type GameHttpFetchRequestOptions = {
        body?: string | ArrayBuffer;
        headers?: GameHttpFetchHeaders;
        method?: "OPTIONS" | "GET" | "HEAD" | "PUT" | "POST" | "DELETE" | "PATCH";
        timeout?: number;
    }
    Index

    Properties

    body?: string | ArrayBuffer

    请求体

    Request body

    headers?: GameHttpFetchHeaders

    请求头

    Request headers

    method?: "OPTIONS" | "GET" | "HEAD" | "PUT" | "POST" | "DELETE" | "PATCH"

    请求方法

    Request method

    timeout?: number

    请求超时时间,单位为毫秒

    Request timeout in milliseconds