跳转至

SharedDictionaryInfo Object

  • match string - 在 use-as-dictionary 响应头的 match 选项中声明的字典匹配路径模式。
  • matchDestinations string[] - 在 use-as-dictionary 响应头的 match-dest 选项中声明的字典匹配目标数组。
  • id string - 在 use-as-dictionary 响应头的 id 选项中声明的字典 ID。
  • dictionaryUrl string - 字典的 URL。
  • lastFetchTime Date - 从网络层接收到字典的时间。
  • responseTime Date - 从服务器接收到字典的时间。对于缓存响应,该时间可能已经过去很久。
  • expirationDuration number - 在 use-as-dictionary 响应头的 expires 选项中声明的字典过期时间(秒)。
  • lastUsedTime Date - 字典最后一次被使用的时间。
  • size number - Chromium 内部存储(通常为 Sqlite)中为此共享字典信息对象存储的字节数。
  • hash string - 字典二进制的 sha256 哈希。

本页原文 Markdown:在 AtomGit 查看·内容源自开源项目 el/electron