summaryrefslogtreecommitdiff
path: root/src/inspector_io.h
diff options
context:
space:
mode:
authorEugene Ostroukhov <eostroukhov@chromium.org>2017-06-05 10:17:20 -0700
committerEugene Ostroukhov <eostroukhov@chromium.org>2017-06-16 09:46:36 -0700
commit6e2c29bcabb0507262167494a1fd9bc583cae690 (patch)
tree79259629957c8d686efa9a0d180a9a419cf2dfcb /src/inspector_io.h
parentb7473c2117d5b43e4ed5ccbe069d5fe91918289e (diff)
downloadnode-new-6e2c29bcabb0507262167494a1fd9bc583cae690.tar.gz
inspector: perform DNS lookup for host
PR-URL: https://github.com/nodejs/node/pull/13478 Fixes: https://github.com/nodejs/node/issues/13477 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'src/inspector_io.h')
-rw-r--r--src/inspector_io.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/inspector_io.h b/src/inspector_io.h
index 6ef2ea54c4..7c15466eed 100644
--- a/src/inspector_io.h
+++ b/src/inspector_io.h
@@ -28,6 +28,10 @@ class StringView;
namespace node {
namespace inspector {
+std::string FormatWsAddress(const std::string& host, int port,
+ const std::string& target_id,
+ bool include_protocol);
+
class InspectorIoDelegate;
enum class InspectorAction {