dart-sdk/pkg/vm_service
Ben Konyi 6a66061703 [ Service ] Add getWebSocketTarget RPC to allow for Observatory to
connect to DDS without relying on a redirect.

Some WebSocket implementations (particularly dart:html's) don't follow
redirects and don't provide the user with the message returned by the
server.

This CL adds 'getWebSocketTarget' as an RPC which returns the
URI that should be used by the client to connect directly to the proper
web socket target. In addition, the "implicit-redirect" forwarding has
been removed.

Change-Id: Iaf88c965f6fedfa6f63c28a08860a3c80388797c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/156485
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2020-08-03 22:06:41 +00:00
..
example [ Service ] Add getWebSocketTarget RPC to allow for Observatory to 2020-08-03 22:06:41 +00:00
java [ Service ] Add getWebSocketTarget RPC to allow for Observatory to 2020-08-03 22:06:41 +00:00
lib [ Service ] Add getWebSocketTarget RPC to allow for Observatory to 2020-08-03 22:06:41 +00:00
test pkg:vm_service - update and fix lints at pedantic v1.8 2020-06-10 05:08:27 +00:00
tool [ Service ] Add getWebSocketTarget RPC to allow for Observatory to 2020-08-03 22:06:41 +00:00
.gitignore [vm service] generate the Java version of the library with the Dart version 2019-08-04 23:42:22 +00:00
analysis_options.yaml pkg:vm_service - update and fix lints at pedantic v1.8 2020-06-10 05:08:27 +00:00
CHANGELOG.md [ Service ] Add getWebSocketTarget RPC to allow for Observatory to 2020-08-03 22:06:41 +00:00
LICENSE Reland "[ VM / Service ] Pulled in vm_service_drivers from its own repo." 2019-07-25 18:46:43 +00:00
pubspec.yaml [ Service ] Add getWebSocketTarget RPC to allow for Observatory to 2020-08-03 22:06:41 +00:00
README.md Fix pub.dev URLs throughout SDK repo 2019-11-20 11:30:48 +00:00

vm_service

pub package

A library to access the VM Service Protocol.

Usage

See the example for a simple use of the library's API.

The VM Service Protocol spec can be found at github.com/dart-lang/sdk/runtime/vm/service/service.md.

Features and bugs

Please file feature requests and bugs at the issue tracker.