socket.io
This commit is contained in:
parent
9a67619c06
commit
8d8e9de3d2
@ -17,7 +17,7 @@ export class ChartService {
|
||||
private socket;
|
||||
|
||||
constructor(public http: HttpClient) {
|
||||
this.socket = io.connect(this.server);
|
||||
this.socket = io.connect(this.server, {transports: ['websocket']});
|
||||
}
|
||||
|
||||
// public createSocketConnection() {
|
||||
|
Loading…
Reference in New Issue
Block a user