dart-sdk/runtime/observatory
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
..
bin Revert "[vm, service, observatory] Bang Bang (My Type System Shot Me Down)." 2020-06-23 08:06:00 +00:00
lib [ Service ] Add getWebSocketTarget RPC to allow for Observatory to 2020-08-03 22:06:41 +00:00
tests [ Service ] Add getWebSocketTarget RPC to allow for Observatory to 2020-08-03 22:06:41 +00:00
tool
web [observatory] Run dartfmt. 2020-07-27 22:42:16 +00:00
.gitignore
analysis_options.yaml Revert "[vm, service, observatory] Bang Bang (My Type System Shot Me Down)." 2020-06-23 08:06:00 +00:00
BUILD.gn Revert "[vm, service, observatory] Bang Bang (My Type System Shot Me Down)." 2020-06-23 08:06:00 +00:00
HACKING.md [ VM / Service / Observatory ] The VM service now requires an authentication code by default. 2019-04-09 22:57:29 +00:00
observatory_sources.gni [observatory] Remove old custom element registration code. 2020-06-25 22:45:32 +00:00
pubspec.yaml Revert "[vm, service, observatory] Bang Bang (My Type System Shot Me Down)." 2020-06-23 08:06:00 +00:00
update_sources.py Mass format python with yapf 2019-08-05 20:34:31 +00:00