var ws = new WebSocket("ws://localhost/bvcsp/v1/ws/gpsdata",[token]);var upgrader = websocket.Upgrader{
Subprotocols: []string{r.Header.Get("Sec-WebSocket-Protocol")},
}curl --location 'https://192.168.88.11:9781/bvcsp/v1/ws/device_status?token=xxxx'[
{
"id": "string",
"battery": 0,
"network": "string",
"recording": "string"
}
]