code refactoring, removed react helmet

This commit is contained in:
2023-11-21 13:12:41 +01:00
parent c56e3a106b
commit ec3a5ad1ee
7 changed files with 26 additions and 57 deletions

View File

@@ -19,11 +19,13 @@ export class RPCClient {
constructor(httpEndpoint: string, webSocketEndpoint: string) {
this.seq = 0
this.httpEndpoint = httpEndpoint
this._socket$ = webSocket<any>(webSocketEndpoint)
this._socket$ = webSocket<any>({
url: webSocketEndpoint
})
}
public get socket$(): Observable<RPCResponse<RPCResult[]>> {
return this._socket$.asObservable()
return this._socket$
}
private incrementSeq() {