getConnectionByPeer method

StompServerConnection? getConnectionByPeer(
  1. PeerId peerId
)

Gets a connection by peer ID

Implementation

StompServerConnection? getConnectionByPeer(PeerId peerId) {
  return _peerConnections[peerId];
}