跳到主要內容

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 雜湊值。