跳至主要內容

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 數字 - 在 'use-as-dictionary' 回應標頭的 expires 選項中宣告的字典的到期時間(以秒為單位)。
  • lastUsedTime Date - 最後使用字典的時間。
  • size 數字 - 此共享字典資訊物件在 Chromium 內部儲存(通常是 Sqlite)中儲存的位元組數。
  • hash 字串 - 字典二進位的 sha256 雜湊值。