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

Unified Diff: runtime/vm/service/message.dart

Issue 1258733004: Include a "jsonrpc" property in all VM service responses. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: add for error Created 5 years, 5 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 | « CHANGELOG.md ('k') | runtime/vm/service/vmservice.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service/message.dart
diff --git a/runtime/vm/service/message.dart b/runtime/vm/service/message.dart
index 631f0a7673a4c3804ede6e0dd21dd18f31d0ceff..d54cb4c338fa3bdb0fec7fa74deb92845472433f 100644
--- a/runtime/vm/service/message.dart
+++ b/runtime/vm/service/message.dart
@@ -143,6 +143,7 @@ class Message {
void setErrorResponse(String message) {
var response = {
+ 'jsonrpc': '2.0',
'id': serial,
'result' : {
'type': 'Error',
« no previous file with comments | « CHANGELOG.md ('k') | runtime/vm/service/vmservice.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698