c97ed9cc11
With this change, DDS takes responsibility for service extension registration via the service protocol in addition to handling service extension request routing. Service extensions registered through dart:developer will continue to be handled by the VM service as those extensions live within the main Dart process (this functionality already worked before this CL). This change also includes a version bump for package:json_rpc_2 to pull in a bug fix required for this change. Change-Id: Idb6050058f7695d34276953be159419a5b1b9711 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/144349 Reviewed-by: Ben Konyi <bkonyi@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com>
This package is a work in-progress and the API may not be stable. Stay tuned for updates.
A package used to spawn the Dart Developer Service (DDS), which is used to communicate with a Dart VM Service instance and provide extended functionality to the core VM Service Protocol.
Functionality
Existing VM Service clients can issue both HTTP and websocket requests to a running DDS instance as if it were an instance of the VM Service itself. If a request corresponds to an RPC defined in the VM Service Protocol, DDS will forward the request and return the response from the VM Service. Requests corresponding to an RPC defined in the DDS Protocol will be handled directly by the DDS instance.