跳转至

SharedDictionaryInfo 对象

  • match string - 字典的匹配路径模式,该模式在 use-as-dictionary 响应头的 match 选项中声明。
  • matchDestinations string[] - 字典的匹配目标数组,这些目标在 use-as-dictionary 响应头的 match-dest 选项中声明。
  • id string - 字典的 Id,该 Id 在 use-as-dictionary 响应头的 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