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

Unified Diff: pkg/analysis_server/doc/api.html

Issue 865383002: add optional request field to record time at which client made request (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 5 years, 11 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
Index: pkg/analysis_server/doc/api.html
diff --git a/pkg/analysis_server/doc/api.html b/pkg/analysis_server/doc/api.html
index 606897d04ce4ffc1571a248b67ef17c243eac71b..a4abcfc83078e433f8b36cd0a43c37858d122f0f 100644
--- a/pkg/analysis_server/doc/api.html
+++ b/pkg/analysis_server/doc/api.html
@@ -96,15 +96,20 @@ dt.typeDefinition {
longer to process than others.
</p>
<p>
- Every request is required to have two fields and may have an
- optional third field. The first required field is the ‘id’
+ Every request is required to have two fields and may have two
+ additional optional fields. The first required field is the ‘id’
field, which is only used by the server to associate a response
with the request that generated the response. The second
required field is the ‘method’ field, which is used to determine
- what the server is being requested to do. The optional field is
+ what the server is being requested to do. One optional field is
the ‘params’ field, whose structure is dependent on the method
being requested. The structure of this field is described with
- each request for which it is required.
+ each request for which it is required. The other optional field
+ is the 'clientRequestTime' field, which is a number indicating
+ the time at which the client made the request (milliseconds
+ since epoch). Providing clientRequestTime helps us track
+ how responsive analysis server is to client requests
+ and better address any issues that occur.
</p>
<p>
Every response has up to three fields. The first field is the

Powered by Google App Engine
This is Rietveld 408576698