| OLD | NEW |
| 1 # Dart VM Service Protocol 0.0 | 1 # Dart VM Service Protocol 0.0 |
| 2 | 2 |
| 3 This document describes _version 0.0_ of the Dart VM Service Protocol. | 3 This document describes _version 0.0_ of the Dart VM Service Protocol. |
| 4 This protocol is used to communicate with a running Dart Virtual | 4 This protocol is used to communicate with a running Dart Virtual |
| 5 Machine. | 5 Machine. |
| 6 | 6 |
| 7 To use the Service Protocol, start the VM with the *--observe* flag. | 7 To use the Service Protocol, start the VM with the *--observe* flag. |
| 8 The VM will start a webserver which services protocol requests via WebSocket. | 8 The VM will start a webserver which services protocol requests via WebSocket. |
| 9 It is possible to make HTTP (non-WebSocket) requests, | 9 It is possible to make HTTP (non-WebSocket) requests, |
| 10 but this does not allow access to VM _events_ and is not documented | 10 but this does not allow access to VM _events_ and is not documented |
| (...skipping 1054 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1065 ### Flag | 1065 ### Flag |
| 1066 | 1066 |
| 1067 ``` | 1067 ``` |
| 1068 class Flag { | 1068 class Flag { |
| 1069 // The name of the flag. | 1069 // The name of the flag. |
| 1070 string name; | 1070 string name; |
| 1071 | 1071 |
| 1072 // A description of the flag. | 1072 // A description of the flag. |
| 1073 string comment; | 1073 string comment; |
| 1074 | 1074 |
| 1075 // Has this flag been modified from its default setting? |
| 1076 bool modified; |
| 1077 |
| 1075 // The value of this flag as a string. | 1078 // The value of this flag as a string. |
| 1076 // | 1079 // |
| 1077 // If this property is absent, then the value of the flag was NULL. | 1080 // If this property is absent, then the value of the flag was NULL. |
| 1078 string valueAsString [optional]; | 1081 string valueAsString [optional]; |
| 1079 } | 1082 } |
| 1080 ``` | 1083 ``` |
| 1081 | 1084 |
| 1082 A _Flag_ represents a single VM command line flag. | 1085 A _Flag_ represents a single VM command line flag. |
| 1083 | 1086 |
| 1084 ### FlagList | 1087 ### FlagList |
| (...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1824 // A list of isolates running in the VM. | 1827 // A list of isolates running in the VM. |
| 1825 @Isolate[] isolates | 1828 @Isolate[] isolates |
| 1826 } | 1829 } |
| 1827 ``` | 1830 ``` |
| 1828 | 1831 |
| 1829 ## Revision History | 1832 ## Revision History |
| 1830 | 1833 |
| 1831 version | comments | 1834 version | comments |
| 1832 ------- | -------- | 1835 ------- | -------- |
| 1833 0.0 | draft | 1836 0.0 | draft |
| OLD | NEW |