SharedDictionaryInfo 对象¶
matchstring - 字典的匹配路径模式,该模式在use-as-dictionary响应头的match选项中声明。matchDestinationsstring[] - 字典的匹配目标数组,这些目标在use-as-dictionary响应头的match-dest选项中声明。idstring - 字典的 Id,该 Id 在use-as-dictionary响应头的id选项中声明。dictionaryUrlstring - 字典的 URL。lastFetchTimeDate - 从网络层接收到字典的时间。responseTimeDate - 从服务器接收到字典的时间。对于缓存响应,该时间可能“远”在过去。expirationDurationnumber - 字典的过期时间(以秒为单位),该时间在use-as-dictionary响应头的expires选项中声明。lastUsedTimeDate - 字典最后一次被使用的时间。sizenumber - 此共享字典信息对象在 Chromium 内部存储(通常为 Sqlite)中占用的字节数。hashstring - 字典二进制文件的 sha256 哈希值。
本页原文 Markdown:在 AtomGit 查看·内容源自开源项目 el/electron