Liking cljdoc? Tell your friends :D

chromex.ext.dns

clj

Use the chrome.dns API for dns resolution.

Use the chrome.dns API for dns resolution.

* available since Chrome 87
* https://developer.chrome.com/extensions/dns
raw docstring

api-tableclj

source

gen-callclj

source

gen-wrapclj/smacro

(gen-wrap kind item-id config & args)
source

resolveclj/smacro

(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/extensions/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/extensions/dns#method-resolve.

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/extensions/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/extensions/dns#method-resolve.
sourceraw docstring

resolve*cljs

(resolve* config hostname)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

Taps all valid non-deprecated events in chromex.ext.dns namespace.

Taps all valid non-deprecated events in chromex.ext.dns namespace.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close