mirror of https://github.com/status-im/js-waku.git
Add streams to /connections response
This commit is contained in:
parent
42553202a3
commit
9c65e590c4
|
@ -92,6 +92,7 @@ function connections(waku: Waku | undefined): string[] {
|
|||
let strConnections = ' connections: [';
|
||||
connections.forEach((connection) => {
|
||||
strConnections += JSON.stringify(connection.stat);
|
||||
strConnections += "; " + JSON.stringify(connection.streams);
|
||||
});
|
||||
strConnections += ']';
|
||||
response.push(strConnections);
|
||||
|
|
Loading…
Reference in New Issue