code: public static synchronized void websocket(String url, AbstractReceiveListener endpoint) {
          checkStarted();
          instance().endpoints.add(HandlerUtil.websocket(url, endpoint));
      }
docs: Define a Websocket endpoint. Supports path variables
  
  @param url      The relative URL to be map this endpoint.
  @param endpoint The endpoint handler