code: public void removeListener(IWebSocketDataListener listener, String path) {
          log.trace("removeListener: {}", listener);
          WebSocketScope scope = getScope(path);
          if (scope != null) {
              scope.removeListener(listener);
              if (!scope.isValid()) {
                  // scope is not valid. delete this
                  removeWebSocketScope(scope);
              }
          } else {
              log.info("Scope not found for path: {}", path);
          }
      }
docs: Remove listener from scope via its path.
  
  @param listener
  IWebSocketDataListener
  @param path