Use the chrome.dns API for dns resolution.
Use the chrome.dns API for dns resolution. * available since Chrome 87 * https://developer.chrome.com/apps/dns
(resolve hostname)
Resolves the given hostname or IP address literal.
|hostname| - The hostname to resolve.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [resolve-info] where:
|resolve-info| - https://developer.chrome.com/apps/dns#property-callback-resolveInfo.
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Resolves the given hostname or IP address literal. |hostname| - The hostname to resolve. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [resolve-info] where: |resolve-info| - https://developer.chrome.com/apps/dns#property-callback-resolveInfo. In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error. https://developer.chrome.com/apps/dns#method-resolve.
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.app.dns namespace.
Taps all valid non-deprecated events in chromex.app.dns namespace.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close