Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(325)

Unified Diff: pkg/analysis_server/tool/spec/spec_input.html

Issue 2703033002: Add a diagnostic.getServerPort analysis server request. (Closed)
Patch Set: review comments Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analysis_server/tool/spec/generated/java/types/RequestErrorCode.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/tool/spec/spec_input.html
diff --git a/pkg/analysis_server/tool/spec/spec_input.html b/pkg/analysis_server/tool/spec/spec_input.html
index d9213e2333e7d6d4bc662b39c4ce39fd3d116447..bba028798f8fb21288f9da7f11cb832115d41558 100644
--- a/pkg/analysis_server/tool/spec/spec_input.html
+++ b/pkg/analysis_server/tool/spec/spec_input.html
@@ -6,7 +6,7 @@
</head>
<body>
<h1>Analysis Server API Specification</h1>
- <h1 style="color:#999999">Version <version>1.17.0</version></h1>
+ <h1 style="color:#999999">Version <version>1.18.0</version></h1>
<p>
This document contains a specification of the API provided by the
analysis server. The API in this document is currently under
@@ -2049,6 +2049,19 @@
</field>
</result>
</request>
+ <request method="getServerPort">
+ <p>
+ Return the port of the diagnostic web server. If the server is not running
+ this call will start the server. If unable to start the diagnostic web server,
+ this call will return an error of DEBUG_PORT_COULD_NOT_BE_OPENED.
Brian Wilkerson 2017/02/19 16:47:18 nit: everywhere else we've surrounded the name of
devoncarew 2017/02/19 23:17:39 Done.
+ </p>
+ <result>
+ <field name="port">
+ <ref>int</ref>
+ <p>The diagnostic server port.</p>
+ </field>
+ </result>
+ </request>
</domain>
<types>
<h2 class="domain"><a name="types">Types</a></h2>
@@ -3731,6 +3744,12 @@
</p>
</value>
<value>
+ <code>DEBUG_PORT_COULD_NOT_BE_OPENED</code>
+ <p>
+ The server was unable to a port for the diagnostic server.
Brian Wilkerson 2017/02/19 16:47:18 "to a" --> "to open a"
devoncarew 2017/02/19 23:17:39 Done.
+ </p>
+ </value>
+ <value>
<code>FILE_NOT_ANALYZED</code>
<p>
A request specified a FilePath which does not match a file in
« no previous file with comments | « pkg/analysis_server/tool/spec/generated/java/types/RequestErrorCode.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698