跳转到主要内容

SharedDictionaryInfo 对象

  • match 字符串 - 字典的匹配路径模式,在 'use-as-dictionary' 响应头中的 match 选项中声明。
  • matchDestinations 字符串[] - 字典的匹配目标数组,在 'use-as-dictionary' 响应头中的 match-dest 选项中声明。
  • id 字符串 - 字典的 Id,在 'use-as-dictionary' 响应头中的 id 选项中声明。
  • dictionaryUrl 字符串 - 字典的 URL。
  • lastFetchTime Date - 字典从网络层接收的时间。
  • responseTime Date - 字典从服务器接收的时间。对于缓存响应,这个时间可能在“很久”以前。
  • expirationDuration 数字 - 字典的过期时间,以秒为单位,在 'use-as-dictionary' 响应头中的 expires 选项中声明。
  • lastUsedTime Date - 字典上次使用的时间。
  • size 数字 - Chromium 内部存储(通常是 Sqlite)中存储此共享字典信息对象所占用的字节数。
  • hash 字符串 - 字典二进制文件的 sha256 哈希值。