Skip to content

Commit d8f8dcc

Browse files
sgrabandmarco-miller
authored andcommitted
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 STMicroelectronics
1 parent 3279f64 commit d8f8dcc

File tree

4 files changed

+606
-172
lines changed

4 files changed

+606
-172
lines changed

tsp-typescript-client/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ export * from './models/trace';
1212
export * from './models/xy';
1313
export * from './models/styles';
1414
export * from './protocol/tsp-client';
15+
export * from './protocol/http-tsp-client';
1516
export * from './protocol/rest-client';
1617
export * from './protocol/tsp-client-response';

0 commit comments

Comments
 (0)