//package com.jxy.marketall.utils;
//
//
//import org.java_websocket.client.WebSocketClient;
//import org.java_websocket.handshake.ServerHandshake;
//
//import java.net.URI;
//import java.net.URISyntaxException;
//import java.sql.SQLOutput;
//
///**
// * @Description TODO
// * @Date 2022/7/5 18:22
// * @Author 杜懿
// */
//public class WebSocketDemo {
//    public static void main(String[] args) throws URISyntaxException {
//        MyWebSocketClient myWebSocketClient = new MyWebSocketClient();
//
//        String url = "wss://fstream.binance.com/stream?streams=btcusdt@kline_1m";
//        WebSocketClient client = myWebSocketClient.getWS(url);
//        if (client != null){
//            System.out.println("连接成功");
//        }
//    }
//
//}
