minigame-std
    Preparing search index...

    Interface MinaFetchInit

    微信小游戏网络请求初始化配置接口,继承自微信小游戏请求选项,除去'url'和'responseType'。

    interface MinaFetchInit {
        onChunk?: (chunk: Uint8Array) => void;
        responseType?: "json" | "text" | "arraybuffer";
    }

    Hierarchy

    • Omit<
          WechatMinigame.RequestOption,
          "url"
          | "dataType"
          | "responseType"
          | "success"
          | "fail",
      >
      • MinaFetchInit
    Index

    Properties

    onChunk?: (chunk: Uint8Array) => void
    responseType?: "json" | "text" | "arraybuffer"