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

Side by Side Diff: pkg/analysis_server/tool/spec/spec_input.html

Issue 872633002: Use 'print' to send responses/notifications to the client. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use non-blocking 'stdout', revert 'print' changes. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <meta charset="UTF-8"/> 3 <meta charset="UTF-8"/>
4 <title>Analysis Server API Specification</title> 4 <title>Analysis Server API Specification</title>
5 </head> 5 </head>
6 <body> 6 <body>
7 <h1>Analysis Server API Specification</h1> 7 <h1>Analysis Server API Specification</h1>
8 <h1 style="color:#999999">WORKING DRAFT - Version <version>0.3</version></h1 > 8 <h1 style="color:#999999">WORKING DRAFT - Version <version>0.3</version></h1 >
9 <p> 9 <p>
10 This document contains a specification of the API provided by 10 This document contains a specification of the API provided by
(...skipping 14 matching lines...) Expand all
25 using UTF-8. 25 using UTF-8.
26 </p> 26 </p>
27 <p> 27 <p>
28 When character streams are used as the transport, messages are 28 When character streams are used as the transport, messages are
29 delineated by newlines. This means, in particular, that the JSON 29 delineated by newlines. This means, in particular, that the JSON
30 encoding process must not introduce newlines within a 30 encoding process must not introduce newlines within a
31 message. Note however that newlines are used in this document 31 message. Note however that newlines are used in this document
32 for readability. 32 for readability.
33 </p> 33 </p>
34 <p> 34 <p>
35 It is the client's responsibility to read output from the server to
36 avoid its blocking.
37 </p>
38 <p>
35 To ease interoperability with Lisp-based clients (which may not 39 To ease interoperability with Lisp-based clients (which may not
36 be able to easily distinguish between empty lists, empty maps, 40 be able to easily distinguish between empty lists, empty maps,
37 and null), client-to-server communication is allowed to replace 41 and null), client-to-server communication is allowed to replace
38 any instance of “<tt>{}</tt>” or “<tt>[]</tt>” with null. The 42 any instance of “<tt>{}</tt>” or “<tt>[]</tt>” with null. The
39 server will always properly represent empty lists as 43 server will always properly represent empty lists as
40 “<tt>[]</tt>” and empty maps as “<tt>{}</tt>”. 44 “<tt>[]</tt>” and empty maps as “<tt>{}</tt>”.
41 </p> 45 </p>
42 <h3>Communication Structure</h3> 46 <h3>Communication Structure</h3>
43 <p> 47 <p>
44 Clients can make a request of the server and the server will 48 Clients can make a request of the server and the server will
(...skipping 3695 matching lines...) Expand 10 before | Expand all | Expand 10 after
3740 <h2>Errors</h2> 3744 <h2>Errors</h2>
3741 <p> 3745 <p>
3742 This section contains a list of all of the errors that are 3746 This section contains a list of all of the errors that are
3743 produced by the server and the data that is returned with each. 3747 produced by the server and the data that is returned with each.
3744 </p> 3748 </p>
3745 <p> 3749 <p>
3746 TBD 3750 TBD
3747 </p> 3751 </p>
3748 </body> 3752 </body>
3749 </html> 3753 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698