You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+50Lines changed: 50 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,25 +30,41 @@ Below are the methods supported in this class.
30
30
|Method Name|Description|
31
31
|---|---|
32
32
|open|Open the IP2Proxy BIN data for lookup.|
33
+
|openAsync|Open the IP2Proxy BIN data for lookup asynchronously.|
33
34
|close|Close and clean up the file pointer.|
34
35
|getPackageVersion|Get the package version (1 to 11 for PX1 to PX11 respectively).|
35
36
|getModuleVersion|Get the module version.|
36
37
|getDatabaseVersion|Get the database version.|
37
38
|isProxy|Check whether if an IP address was a proxy. Returned value:<ul><li>-1 : errors</li><li>0 : not a proxy</li><li>1 : a proxy</li><li>2 : a data center IP address or search engine robot</li></ul>|
39
+
|isProxyAsync|Check whether if an IP address was a proxy asynchronously. Returned value:<ul><li>-1 : errors</li><li>0 : not a proxy</li><li>1 : a proxy</li><li>2 : a data center IP address or search engine robot</li></ul>|
38
40
|getAll|Return the proxy information in an object.|
41
+
|getAllAsync|Return the proxy information in an object asynchronously.|
39
42
|getProxyType|Return the proxy type. Please visit <ahref="https://www.ip2location.com/database/px10-ip-proxytype-country-region-city-isp-domain-usagetype-asn-lastseen-threat-residential"target="_blank">IP2Location</a> for the list of proxy types supported|
43
+
|getProxyTypeAsync|Return the proxy type asynchronously. Please visit <ahref="https://www.ip2location.com/database/px10-ip-proxytype-country-region-city-isp-domain-usagetype-asn-lastseen-threat-residential"target="_blank">IP2Location</a> for the list of proxy types supported|
40
44
|getCountryShort|Return the ISO3166-1 country code (2-digits) of the proxy.|
45
+
|getCountryShortAsync|Return the ISO3166-1 country code (2-digits) of the proxy asynchronously.|
41
46
|getCountryLong|Return the ISO3166-1 country name of the proxy.|
47
+
|getCountryLongAsync|Return the ISO3166-1 country name of the proxy asynchronously.|
42
48
|getRegion|Return the ISO3166-2 region name of the proxy. Please visit <ahref="https://www.ip2location.com/free/iso3166-2"target="_blank">ISO3166-2 Subdivision Code</a> for the information of ISO3166-2 supported|
49
+
|getRegionAsync|Return the ISO3166-2 region name of the proxy asynchronously. Please visit <ahref="https://www.ip2location.com/free/iso3166-2"target="_blank">ISO3166-2 Subdivision Code</a> for the information of ISO3166-2 supported|
43
50
|getCity|Return the city name of the proxy.|
51
+
|getCityAsync|Return the city name of the proxy asynchronously.|
44
52
|getISP|Return the ISP name of the proxy.|
53
+
|getISPAsync|Return the ISP name of the proxy asynchronously.|
45
54
|getDomain|Return the domain name of the proxy.|
55
+
|getDomainAsync|Return the domain name of the proxy asynchronously.|
46
56
|getUsageType|Return the usage type classification of the proxy. Please visit <ahref="https://www.ip2location.com/database/px10-ip-proxytype-country-region-city-isp-domain-usagetype-asn-lastseen-threat-residential"target="_blank">IP2Location</a> for the list of usage types supported.|
57
+
|getUsageTypeAsync|Return the usage type classification of the proxy asynchronously. Please visit <ahref="https://www.ip2location.com/database/px10-ip-proxytype-country-region-city-isp-domain-usagetype-asn-lastseen-threat-residential"target="_blank">IP2Location</a> for the list of usage types supported.|
47
58
|getASN|Return the autonomous system number of the proxy.|
59
+
|getASNAsync|Return the autonomous system number of the proxy asynchronously.|
48
60
|getAS|Return the autonomous system name of the proxy.|
61
+
|getASAsync|Return the autonomous system name of the proxy asynchronously.|
49
62
|getLastSeen|Return the number of days that the proxy was last seen.|
63
+
|getLastSeenAsync|Return the number of days that the proxy was last seen asynchronously.|
50
64
|getThreat|Return the threat type of the proxy.|
65
+
|getThreatAsync|Return the threat type of the proxy asynchronously.|
51
66
|getProvider|Return the provider of the proxy.|
67
+
|getProviderAsync|Return the provider of the proxy asynchronously.|
0 commit comments