mirror of
https://github.com/status-im/js-waku.git
synced 2025-02-22 18:08:14 +00:00
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…
x
Reference in New Issue
Block a user