@Bean
    public ReactorNettyWebSocketClient reactorNettyWebSocketClient(final ShenyuConfig shenyuConfig,
                                                                   final ObjectProvider<HttpClient> httpClient) {
        Supplier<WebsocketClientSpec.Builder> builder = WebsocketClientSpec.builder()
                .maxFramePayloadLength(shenyuConfig.getWebsocket().getMaxFramePayloadSize() * Constants.BYTES_PER_MB)
                .handlePing(shenyuConfig.getWebsocket().getEnableProxyPing());
        return new ReactorNettyWebSocketClient(httpClient.getIfAvailable(HttpClient::create), builder);
    }
Reactor netty web socket client.

@param shenyuConfig the shenyu config
@param httpClient   the http client
@return the reactor netty web socket client
shenyu-spring-boot-starter/shenyu-spring-boot-starter-plugin/shenyu-spring-boot-starter-plugin-websocket/src/main/java/org/apache/shenyu/springboot/plugin/websocket/WebSocketPluginConfiguration.java