use of org.springframework.web.socket.sockjs.client.Transport in project spring-boot by spring-projects.
the class WebSocketMessagingAutoConfigurationTests method setup.
@Before
public void setup() {
List<Transport> transports = Arrays.asList(new WebSocketTransport(new StandardWebSocketClient(new WsWebSocketContainer())), new RestTemplateXhrTransport(new RestTemplate()));
this.sockJsClient = new SockJsClient(transports);
}
Aggregations