跳转到主要内容

SharedDictionaryInfo 对象

  • 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 哈希值。