Commit d8f8dcc
Make TspClient reuseable interface
The new interface is called `ITspClient`.
`ITspClient` can be used for typing and other implementations.
The existing functionality was moved to the `HttpTspClient`.
To not break the existing behavior `TspClient` is still exported as an
alias for the `HttpTspClient`, but is being deprecated.
This way adopters should be notified to migrate to `HttpTspClient`.
This makes the package more flexible as different implementations
can be provided, e.g. a proxy client in a Theia frontend.
Part of eclipse-cdt-cloud/theia-trace-extension#976
Contributed on behalf of STMicroelectronics1 parent 3279f64 commit d8f8dcc
File tree
4 files changed
+606
-172
lines changed- tsp-typescript-client/src
- protocol
4 files changed
+606
-172
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
0 commit comments