code: public void addListener(IWebSocketDataListener listener, String path) {
          log.trace("addListener: {}", listener);
          WebSocketScope scope = getScope(path);
          if (scope != null) {
              scope.addListener(listener);
          } else {
              log.info("Scope not found for path: {}", path);
          }
      }
docs: Add the listener on scope via its path.
  
  @param listener
  IWebSocketDataListener
  @param path