14 Mart 2018 Çarşamba

SpringWebSocket SockJs SockJsClient Sınıfı

constructor
Şöyle yaparız.
WebSocketClient simpleWebSocketClient = new StandardWebSocketClient();
List<Transport> transports = new ArrayList<>(1);
transports.add(new WebSocketTransport(simpleWebSocketClient));

SockJsClient sockJsClient = new SockJsClient(transports);

Hiç yorum yok:

Yorum Gönder