dart-sdk/pkg/vm_service/example
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
..
sample_isolates.dart pkg:vm_service - update and fix lints at pedantic v1.8 2020-06-10 05:08:27 +00:00
sample_main.dart pkg:vm_service - update and fix lints at pedantic v1.8 2020-06-10 05:08:27 +00:00
vm_service_assert.dart [ Service ] Add getWebSocketTarget RPC to allow for Observatory to 2020-08-03 22:06:41 +00:00
vm_service_tester.dart pkg:vm_service - update and fix lints at pedantic v1.8 2020-06-10 05:08:27 +00:00