package com.whyc.webSocket.receiver; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.socket.client.standard.StandardWebSocketClient; import org.springframework.web.socket.WebSocketHttpHeaders; import org.springframework.web.socket.sockjs.client.SockJsClient; import org.springframework.web.socket.sockjs.client.Transport; import org.springframework.web.socket.sockjs.client.WebSocketTransport; import java.util.ArrayList; import java.util.List; @Configuration public class WebSocketClientConfig { @Bean public ThirdPartyWebSocketHandler thirdPartyWebSocketHandler() { return new ThirdPartyWebSocketHandler(); } }