eric6/WebBrowser/SafeBrowsing/SafeBrowsingAPIClient.py

changeset 7639
422fd05e9c91
parent 7360
9190402e4505
child 7781
607a6098cb44
equal deleted inserted replaced
7638:176145438b1e 7639:422fd05e9c91
162 def getFullHashes(self, prefixes, clientState): 162 def getFullHashes(self, prefixes, clientState):
163 """ 163 """
164 Public method to find full hashes matching hash prefixes. 164 Public method to find full hashes matching hash prefixes.
165 165
166 @param prefixes list of hash prefixes to find 166 @param prefixes list of hash prefixes to find
167 @type list of str (Python 2) or list of bytes (Python 3) 167 @type list of bytes
168 @param clientState dictionary of client states with keys like 168 @param clientState dictionary of client states with keys like
169 (threatType, platformType, threatEntryType) 169 (threatType, platformType, threatEntryType)
170 @type dict 170 @type dict
171 @return dictionary containing the list of found hashes and the 171 @return dictionary containing the list of found hashes and the
172 negative cache duration 172 negative cache duration

eric ide

mercurial