跳转到主要内容

SharedDictionaryInfo 对象

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