Skip to main content

SharedDictionaryInfo 对象

🌐 SharedDictionaryInfo Object

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