6bfef67aae
* feat: session.resolveHost Expose Chromium's host resolution API through the Session object. * Update shell/browser/api/electron_api_session.cc Co-authored-by: Jeremy Rose <nornagon@nornagon.net> * address feedback * fix tests * address feedback * Add options * Update shell/browser/api/electron_api_session.cc Co-authored-by: Cheng Zhao <github@zcbenz.com> * Update shell/browser/net/resolve_host_function.cc Co-authored-by: Cheng Zhao <github@zcbenz.com> * lint * return object * add missing file * fix crash * handle scope * links --------- Co-authored-by: Fedor Indutny <indutny@signal.org> Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Co-authored-by: Jeremy Rose <nornagon@nornagon.net> Co-authored-by: Cheng Zhao <github@zcbenz.com>
7 lines
207 B
Markdown
7 lines
207 B
Markdown
# ResolvedEndpoint Object
|
|
|
|
* `address` string
|
|
* `family` string - One of the following:
|
|
* `ipv4` - Corresponds to `AF_INET`
|
|
* `ipv6` - Corresponds to `AF_INET6`
|
|
* `unspec` - Corresponds to `AF_UNSPEC`
|