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

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

Issue 943723002: Return version with connected notification (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Touched missed Java files Created 5 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/test/integration/protocol_matchers.dart ('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 21b6c9e5aaab046416d7726adac61b5df7d716c1..9d5ade1bcb631c24337756687b148f855c0ac259 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.2.0</version></h1>
+ <h1 style="color:#999999">Version <version>1.3.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
@@ -110,6 +110,12 @@
kind of notification being sent. The structure of this field is
described with each notification.
</p>
+ <p>
+ In order to be backward compatible, clients should ignore fields that were
+ not specified in the version of the API on which they were based. Clients
+ should also use the server.getVersion request to test that the version of
+ the server supports an API before using it.
+ </p>
<h3>Eventual Consistency</h3>
<p>
TBD
@@ -225,6 +231,12 @@
It is not possible to subscribe to or unsubscribe from this
notification.
</p>
+ <params>
+ <field name="version">
+ <ref>String</ref>
+ <p>The version number of the analysis server.</p>
+ </field>
+ </params>
</notification>
<notification event="error">
<p>
« no previous file with comments | « pkg/analysis_server/test/integration/protocol_matchers.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698